Comment 1 for bug 999506

Revision history for this message
Amit Parik (amit-parik) wrote : Re: SQL view reports ignores user company and records rules

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!