← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 531757] Re: ir_act_report_xml - uniqueness for model, report_name

 

I'm not sure I see a good reason for enforcing the uniqueness of (model,
report_name). This does not represent a great risk, and in most case
will not matter because official addons do not have duplicate names for
reports. Therefore it won't be a usability improvement, but could slow
down debugging/testing when duplicating reports etc.

Thanks for the suggestion, though!

PS: the deletion of the ir.values entry does not occur automatically
upon deletion of a report because it is not linked via a classical
foreign key (because it may point to many different tables... and thus
cascading the deletion does not automatically work) This could be a
valid improvement for post-v6 though.

** Changed in: openobject-server
       Status: New => Invalid

-- 
ir_act_report_xml - uniqueness for model,report_name
https://bugs.launchpad.net/bugs/531757
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Invalid

Bug description:
IMHO model,report_name must be unique 

BTW I do not understand why model is not a realtion field ?