← Back to team overview

report-openoffice-team team mailing list archive

[Bug 601553] [NEW] module update

 

Public bug reported:

I've made module which use report_openoffice through wizard. All work fine (it seems).
But when i update my module, and try to use wizard, i obtain :

Traceback (most recent call last):
  File "/opt/openerp/istf/openerp-server-5.0.11/bin/service/web_services.py", line 683, in go
    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/opt/openerp/istf/server/bin/addons/report_openoffice/report_openoffice.py", line 430, in create
    return fnct(cr, uid, ids, data, report_xml, context)
  File "/opt/openerp/istf/openerp-server-5.0.11/bin/report/report_sxw.py", line 426, in create_source_pdf
    return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  File "/opt/openerp/istf/server/bin/addons/report_openoffice/report_openoffice.py", line 335, in create_single_pdf
    return self.create_relatorio_report(cr, uid, ids, data, report_xml, context=context, output='pdf')
  File "/opt/openerp/istf/server/bin/addons/report_openoffice/report_openoffice.py", line 171, in create_relatorio_report
    oo_parser = self.parser(cr, uid, self.name2, context=context)
  File "/opt/openerp/istf/server/bin/addons/account_journal_istf/python/report/report_journal.py", line 34, in __init__
    super(Parser, self).__init__(cr, uid, name, context=context)
TypeError: super(type, obj): obj must be an instance or subtype of type

All i have to do to make it work is to go on my report xml definition in
openerp administration, edit the report, save it without doing any
modification.

I precise i use pdf output, but same problem with odt output.

** Affects: report-openoffice
     Importance: Undecided
         Status: New

-- 
module update
https://bugs.launchpad.net/bugs/601553
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:
I've made module which use report_openoffice through wizard. All work fine (it seems).
But when i update my module, and try to use wizard, i obtain :

Traceback (most recent call last):
  File "/opt/openerp/istf/openerp-server-5.0.11/bin/service/web_services.py", line 683, in go
    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/opt/openerp/istf/server/bin/addons/report_openoffice/report_openoffice.py", line 430, in create
    return fnct(cr, uid, ids, data, report_xml, context)
  File "/opt/openerp/istf/openerp-server-5.0.11/bin/report/report_sxw.py", line 426, in create_source_pdf
    return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  File "/opt/openerp/istf/server/bin/addons/report_openoffice/report_openoffice.py", line 335, in create_single_pdf
    return self.create_relatorio_report(cr, uid, ids, data, report_xml, context=context, output='pdf')
  File "/opt/openerp/istf/server/bin/addons/report_openoffice/report_openoffice.py", line 171, in create_relatorio_report
    oo_parser = self.parser(cr, uid, self.name2, context=context)
  File "/opt/openerp/istf/server/bin/addons/account_journal_istf/python/report/report_journal.py", line 34, in __init__
    super(Parser, self).__init__(cr, uid, name, context=context)
TypeError: super(type, obj): obj must be an instance or subtype of type

All i have to do to make it work is to go on my report xml definition in openerp administration, edit the report, save it without doing any modification.

I precise i use pdf output, but same problem with odt output.





Follow ups

References