Merge lp:~openerp-dev/openobject-addons/trunk-opw-576863-port-mma into lp:openobject-addons
Status: | Merged |
---|---|
Merged at revision: | 8324 |
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-opw-576863-port-mma |
Merge into: | lp:openobject-addons |
Diff against target: |
15 lines (+2/-1) 1 file modified
base_report_designer/plugin/openerp_report_designer/bin/script/SendToServer.py (+2/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-opw-576863-port-mma |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+135350@code.launchpad.net |
Description of the change
Hello,
Using OpenERP plugin for OpenOffice, the 'Send to the server' functionality doesn't show the report at destination model if used by user other then Administrator(
Steps to Reproduce issue:
1) Create a DB and install base_report_
2) Configure report_
3) Create a user and give him all access as Administrator has,
4) Logged in with this user and create a OpenOffice report, and upload it to destination model in server using 'Send to the server',
5) In OpenERP client, go to destination model and you will not find the uploaded report.
Note: You will notice message, "Operation prohibited by access rules, or performed on an already deleted document (Operation: create, Document type: ir.values)."
The cause of the issue is, plugin sends data with 'key': 'action' and no user information for 'user_id' field of 'ir.values' model and the access rules(orm's def check_access_
I have fixed this issue and this fix is dependent on another fix at branch:
https:/
code is forward port from 6.1
Thanks,
Mayur