Merge lp:~openerp-dev/openobject-addons/7.0-opw-607160-rgo into lp:openobject-addons/7.0
Status: | Merged |
---|---|
Merged at revision: | 10039 |
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-607160-rgo |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
20 lines (+2/-1) 1 file modified
document_page/wizard/document_page_create_menu.py (+2/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-607160-rgo |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Trigaux (OpenERP) (community) | Approve | ||
Review via email: mp+218743@code.launchpad.net |
Description of the change
Steps to reproduce the issue:
1) Install document_page module
2) Log-in with other than admin user
3) Go to "Knowledge/
A warning will be faced saying,
"Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: ir.values, Operation: create)"
While creating menu, system will try to create record for "ir.values" object(with values "key=action" and "user_id=False") by mean of execution invert function(
Modification of this rule is not advisable hence it need to be fixed by allowing creation of menus for document pages with superuser. Kindly review the fix.
Thanks.
LGTM, thanks
revno: 10039 [merge]
revision-id: <email address hidden>