ValueError: No references to jasper_reports.model_ir_actions_report_xml_file

Bug #609115 reported by Ana Juaristi Olalde
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openobject-jasper-reports
New
Undecided
Unassigned

Bug Description

Hi:

When I try to install Jasper_reports module on openerp, I obtain the error shown on title.

After, including a comment tag on this line on terp.py module installs without error.

# 'security/ir.model.access.csv',

Thank you:

Ana

Revision history for this message
Carlos Sprekelsen (carlos-sprekelsen) wrote :

I am also affected by this bug. I have noticed also that if somebody has installed the Alistek module "report_openoffice" normal users stop viewing the print butonsns and only Administrator has access to them. Somehow this modle changes permissions that should be granted by 'security/ir.model.access.csv'. Somehow this module is messing up the security of other installed modules.

Carlos Sprekelsen.

Revision history for this message
Carlos Sprekelsen (carlos-sprekelsen) wrote :

Anta, with your "patch" There aren't any access rule defined for new object ir.actions.report.xml.file, this will not allow to print reports with another user different to admin.

Revision history for this message
Carlos Sprekelsen (carlos-sprekelsen) wrote :

UPGRADE [SOLVED]: This only happens if the database had already intalled jasper_reports before and then uninstalled. I have installed on a fresh databease and it works perfectly. Alter further researchI have realised that on the first install the module created an entry in te table "ir_model" with the value ir.actions.report.xml.file. On the second install it fails with this error.

I removed theentry on the table ir_model and could make a full installation with no errors at all.

affects: openobject-client-kde → openobject-jasper-reports
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.