You have been subscribed to a public bug:
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.
** Affects: openobject-server
Importance: Low
Assignee: OpenERP's Framework R&D (openerp-dev-framework)
Status: Confirmed
** Tags: base calendar printjob report spool
--
OpenERP 6.0.3 - module base_calendar overrides printing service
https://bugs.launchpad.net/bugs/837552
You received this bug notification because you are a member of OpenERP CTP,
which is subscribed to OpenERP Server.
_______________________________________________
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