Multicompany - recurring entries - generate entries
Bug #812027 reported by
Kevin McMenamin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
I think this is a similar issue as bug 809558.
In a multi-company environment with a user that has access to multiple companies. I have created a recurring journal entry for company W (and have checked that there are no company ID issues). When I run the generate entries action I get a company_ID error. I think this will be because the program is getting the first period available for this user which happens to be for another company. However, there is nowhere in the action that I can override the period in journal creation, so if a fatal error. My immediate workaround requires the user the have access only to one company, which is not practical in a head office situation.
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-812027-ara
Rejected
for merging
into
lp:openobject-addons
- Purnendu Singh (OpenERP) (community): Needs Resubmitting
- qdp (OpenERP): Needs Fixing
- Mustufa Rangwala (Open ERP) (community): Approve
- Ashvin Rathod (OpenERP) (community): Needs Resubmitting
-
Diff: 75 lines (+10/-12)3 files modifiedaccount/account.py (+4/-5)
account/account_view.xml (+3/-3)
account/wizard/account_use_model.py (+3/-4)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
tags: | added: maintenance |
To post a comment you must log in.
Also, when I logged on as another user without access to company W I was able to see the recurring lines for company W and add/delete entries. When I tried to run for company 2 I got an error generated by security, so I had to delete the entry for company W to action.
Also, in recurring journal setup there is no company check - you can create a template that posts to multiple companies. Is caught in the posting process, but should not be able to happen.