report-openoffice-team team mailing list archive
-
report-openoffice-team team
-
Mailing list archive
-
Message #00185
[Bug 581908] Re: Access on ir.module.module required
I can confirm that
only with pdf reports, only with 'non admin' users, I get
File "/home/elbati/workspace/openerp/server/5.0/bin/service/web_services.py", line 683, in go
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/home/elbati/workspace/openerp/addons/5.0/report_openoffice/report_openoffice.py", line 611, in create
return fnct(cr, uid, ids, data, report_xml, context)
File "/home/elbati/workspace/openerp/server/5.0/bin/report/report_sxw.py", line 427, in create_source_pdf
return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
File "/home/elbati/workspace/openerp/addons/5.0/report_openoffice/report_openoffice.py", line 515, in create_single_pdf
return self.create_relatorio_report(cr, uid, ids, data, report_xml, context=context, output='pdf')
File "/home/elbati/workspace/openerp/addons/5.0/report_openoffice/report_openoffice.py", line 475, in create_relatorio_report
module_id = pool.get('ir.module.module').search(cr, uid, [('name','=','report_openoffice_helper')])
File "/home/elbati/workspace/openerp/server/5.0/bin/osv/orm.py", line 3047, in search
self.pool.get('ir.model.access').check(cr, user, self._name, 'read', context=context)
File "/home/elbati/workspace/openerp/server/5.0/bin/tools/misc.py", line 683, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/home/elbati/workspace/openerp/server/5.0/bin/addons/base/ir/ir_model.py", line 374, in check
raise except_orm(_('AccessError'), msgs[mode] % model_name )
except_orm: ('AccessError', 'You can not read this document! (ir.module.module)')
By giving my user reading access to ir.module.module, report prints
correctly
** Changed in: report-openoffice
Status: Invalid => New
--
Access on ir.module.module required
https://bugs.launchpad.net/bugs/581908
You received this bug notification because you are a member of Report
OpenOffice Team, which is the registrant for Report OpenOffice.
Status in OpenOffice.org Reporting Engine for OpenObject: New
Bug description:
after updating from revision 7 to revision 9(Module separated to two parts) i get the following Exception:
ERROR:web-services:[16]: Last revision No. & ID : 2031 stephane@xxxxxxxxxxx-20100406170444-6ejgfdl1ldqrpcpj
ERROR:web-services:[17]:
ERROR:web-services:[18]: Exception: ('AccessError', 'You can not read this document! (ir.module.module)')
adding the appropriate user to group "Administrator/Configuration" fixes the problem but does not seem appropriate.
Maybe a prior error triggers the excpetion(which was there before as well):
ERROR:orm:[18]: Programming error: field 'comment' does not exist in object 'sale.order' !
References