Merge lp:~openerp-dev/openobject-addons/6.0-opw-382055-ado into lp:openobject-addons/6.0
Proposed by
Amit Dodiya (OpenERP)
Status: | Merged |
---|---|
Approved by: | Naresh(OpenERP) |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5147 |
Proposed branch: | lp:~openerp-dev/openobject-addons/6.0-opw-382055-ado |
Merge into: | lp:openobject-addons/6.0 |
Diff against target: |
12 lines (+1/-1) 1 file modified
account/account.py (+1/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-382055-ado |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonardo Pistone (community) | Approve | ||
Naresh(OpenERP) | Pending | ||
Amit Dodiya (OpenERP) | Pending | ||
nel | Pending | ||
Review via email: mp+92941@code.launchpad.net |
This proposal supersedes a proposal from 2012-02-03.
Description of the change
Hello,
[FIX] Accounting managers cannot create a new journal (permissions on ir sequence type)"
Accounting/Managers have access to accounting configuration.
However, if they try to create a journal, they get the error :
"You can not create this document (ir.sequence.type) ! Be sure your user belongs to one of these groups: Administration / Configuration."
Thanks,
Amit
To post a comment you must log in.
Thanks Amit.
IMO, your fix works, but gives full power to account managers to sequences and sequence types which could be dangerous for some. A safer and cleaner option could be to backport what Fabien did for trunk here,
http:// bazaar. launchpad. net/~openerp/ openobject- addons/ trunk/revision/ 5917
i.e. using the uid 1 (admin) just for creating the sequence.