Missing Company access rule for Entries analysis report.
Bug #999506 reported by
Paulius Sladkevičius @ hbee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
All reports which are made with Postgresql view ignores all record rules, so multi company breaks here.
For example, If user belongs for company A, he/she can see all accounting data in the Accounting-
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-999506-amp
- OpenERP Core Team: Pending requested
-
Diff: 184 lines (+45/-34)2 files modifiedaccount/security/account_security.xml (+44/-33)
portal_sale/security/portal_security.xml (+1/-1)
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Paulius,
First of all I want to say that record rule are also working for sql reports because we have used a osv.osv object for all sql report which is the same as all object. Would you please check "Invoices Analysis" (account. invoice. report) report where we have already set a record rule and it's working fine.
Indeed, we didn't set the record rule for (Entries analysis) account. entries. report object that's why you have seen all company's entry. Yes I agreed this report shouldn't view all company's data that's why we should be add a record rule for account. entries. report object.
So I am confirming this issue for missing access rules.
Thank you!