Activity log for bug #837552

Date Who What changed Old value New value Message
2011-08-30 17:24:29 Marco-jem bug added bug
2011-09-13 09:02:12 Lorenzo Battistini bug added subscriber Lorenzo Battistini - Agile BG - Domsense
2011-09-13 11:06:42 Vishal Parmar(Open ERP) openobject-addons: status New Incomplete
2011-10-03 19:20:58 Tamás Dénes bug added subscriber Tamás Dénes
2011-10-04 09:57:37 Amit Parik openobject-addons: importance Undecided Low
2011-10-04 09:57:37 Amit Parik openobject-addons: status Incomplete Confirmed
2011-10-04 09:57:37 Amit Parik openobject-addons: assignee OpenERP's Framework R&D (openerp-dev-framework)
2011-10-04 12:52:56 Vo Minh Thu affects openobject-addons openobject-server
2014-04-15 15:37:33 Lionel Sausin - Initiatives/Numérigraphe summary OpenERP 6.0.3 - module base_calendar overrides printing service module base_calendar overrides printing service
2014-04-15 15:37:43 Lionel Sausin - Initiatives/Numérigraphe description I'm trying to port the PrintJob module to OpenERP 6 and doing this work I noticed that module base_calendar is doing something strange with the print service. The class base_calendar.virtual_report_spool derives from the standard printing service (web_service.report_spool) and do something strange with ids passed to the method exp_report(), is seems that ids passed to the report generation method needs to be translated from base_calendar_id to real_id by the function base_calendar_id2real_id() also it seems this function is applied to ids of every report generated. I tried to execute the server in debug mode and placing break points inside the method base_calendar.virtual_report_spool.exp_report() but while the new web service for report generation is correctly registered the method exp_report of the class base_calendar.virtual_report_spool is never executer. I think replacing the report generation web service is probably not the correct strategy for doing ids translations. I'm reporting this bug because I'm trying to port ProntJob module to OpenERP 6 and I need to override the default web service for generating reports (implemented in the class web_service.report_spool) with a new service implemented in PrintJob, now I can't do this because base_calendar module overrides the default service for printing and classes of this module are instantiated after the classes of PrintJob module, the result is an override of the PrintJob printing service. I'm trying to port the PrintJob module to OpenERP 6 and doing this work I noticed that module base_calendar is doing something strange with the print service. The class base_calendar.virtual_report_spool derives from the standard printing service (web_service.report_spool) and do something strange with ids passed to the method exp_report(), is seems that ids passed to the report generation method needs to be translated from base_calendar_id to real_id by the function base_calendar_id2real_id() also it seems this function is applied to ids of every report generated. I tried to execute the server in debug mode and placing break points inside the method base_calendar.virtual_report_spool.exp_report() but while the new web service for report generation is correctly registered the method exp_report of the class base_calendar.virtual_report_spool is never executer. I think replacing the report generation web service is probably not the correct strategy for doing ids translations. I'm reporting this bug because I'm trying to port PrintJob module to OpenERP 6 and I need to override the default web service for generating reports (implemented in the class web_service.report_spool) with a new service implemented in PrintJob, now I can't do this because base_calendar module overrides the default service for printing and classes of this module are instantiated after the classes of PrintJob module, the result is an override of the PrintJob printing service.
2014-06-02 15:25:46 Lionel Sausin - Initiatives/Numérigraphe bug added subscriber Numérigraphe