← Back to team overview

openerp-india team mailing list archive

[Bug 999506] 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!

** Summary changed:

- SQL view reports ignores user company and records rules
+ Missing Company access rule for Entries analysis report.

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/999506

Title:
  Missing Company access rule for Entries analysis report.

Status in OpenERP Addons (modules):
  Confirmed

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->Reporting->Entries analysis report
  and from B and C companies.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/999506/+subscriptions


References