Hello Eric,
The issue seems to be fixed on Trunk with the latest merge of fixes from
stable with revision-
info:[email protected]
can you please try with the updated code. If you still face the problem
please reopen the issue.
Thanks,
** Changed in: openobject-server
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of OpenERP
CTP, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/772367
Title:
Child users cannot access their company information/logo in reports
Status in OpenERP Server:
Fix Released
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:report:rml_except: " company.logo or
removeParentNode('image') "
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/report/render/rml2pdf/utils.py",
line 90, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/tools/safe_eval.py",
line 284, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict,
locals_dict)
File "", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py",
line 292, in __getattr__
return self[name]
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py",
line 205, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names,
context=self._context, load="_classic_write")
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py",
line 2940, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py",
line 2997, in _read_flat
% (self._description,))
except_orm: (u'AccessError', u'Operation prohibited by access rules, or
performed on an already deleted document (Operation: read, Document type:
Company).')
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/772367/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp