Child users cannot access their company information/logo in reports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP's Framework R&D |
Bug Description
How to reproduce it:
fresh database with purchases and dependencies and demo data
Link 2 companies, Shop1 being child of OpenERP SA
main company for demo user = shop1 and allowed companies = shop1
When user print a PO, there is an access error. User cannot print the logo and information company in the header of the purchase order even with default multi-company rules and in its own company.
[2011-04-28 21:32:45,074][test] WARNING:
Traceback (most recent call last):
File "/usr/local/
eval(
File "/usr/local/
return eval(test_
File "", line 1, in <module>
File "/usr/local/
return self[name]
File "/usr/local/
field_values = self._table.
File "/usr/local/
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/local/
% (self._
except_orm: (u'AccessError', u'Operation prohibited by access rules, or performed on an already deleted document (Operation: read, Document type: Company).')
Changed in openobject-server: | |
status: | Confirmed → In Progress |
Changed in openobject-server: | |
status: | In Progress → Confirmed |
Hello,
Thanks for the reporting!
There is not set the company logo and information for the child company in report.
And I am faced the another access problem as same this scenario when I am create a new record for the receive product by using another user(with child company) then I faced the following access error.
AccessError;
Operation prohibited by access rules, or performed on an already deleted document (Operation: read, Document type: Location).
Thank you!