c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #25637
[Bug 792030] Re: inherted account.invoice crashes at print
Seems to break only on validated invoices.
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/792030
Title:
inherted account.invoice crashes at print
Status in OpenERP Modules (addons):
New
Bug description:
I use a simple module for Romanian invoice localisation found at:
https://code.launchpad.net/~openerp-romanian-team/openerp-ro/deltatech_invoice
today I get this when printing and I cannot get around it:
pydev debugger: warning: psyco not available for speedups (the debugger will still work correctly, but a bit slower)
pydev debugger: starting
INFO:server:OpenERP version - 6.0.1
INFO:server:addons_path - /usr/lib/openerp-server-6.0.1/addons
INFO:server:database hostname - localhost
INFO:server:database port - 5432
INFO:server:database user - openerp
INFO:server:initialising distributed objects services
INFO:web-services:starting HTTP service at 0.0.0.0 port 8069
INFO:web-services:starting HTTPS service at 0.0.0.0 port 8071
INFO:web-services:Registered XML-RPC over HTTP
INFO:web-services:starting NET-RPC service at 0.0.0.0 port 8070
INFO:server:Starting 3 services
INFO:server:OpenERP server is running, waiting for connections...
Exception:
Traceback (most recent call last):
File "/usr/lib/openerp-server-6.0.1/service/web_services.py", line 724, in go
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/usr/lib/openerp-server-6.0.1/report/report_sxw.py", line 428, in create
fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
File "/usr/lib/openerp-server-6.0.1/report/report_sxw.py", line 462, in create_source_pdf
result = self.create_single_pdf(cr, uid, [obj.id], data, report_xml, context)
File "/usr/lib/openerp-server-6.0.1/report/report_sxw.py", line 513, in create_single_pdf
pdf = create_doc(etree.tostring(processed_rml),rml_parser.localcontext,logo,title.encode('utf8'))
File "/usr/lib/openerp-server-6.0.1/report/interface.py", line 193, in create_pdf
obj.render()
File "/usr/lib/openerp-server-6.0.1/report/render/render.py", line 63, in render
result = self._render()
File "/usr/lib/openerp-server-6.0.1/report/render/rml.py", line 41, in _render
return rml2pdf.parseNode(self.rml, self.localcontext, images=self.bin_datas, path=self.path,title=self.title)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 971, in parseNode
r.render(fp)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 303, in render
pt_obj.render(el)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 942, in render
fis += r.render(node_story)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 861, in render
return process_story(node_story)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 854, in process_story
flow = self._flowable(node)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 723, in _flowable
return self._pto(node)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 713, in _pto
flow = self._flowable(node)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 818, in _flowable
return self.render(node)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 861, in render
return process_story(node_story)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 854, in process_story
flow = self._flowable(node)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 777, in _flowable
return self._table(node)
File "/usr/lib/openerp-server-6.0.1/report/render/rml2pdf/trml2pdf.py", line 681, in _table
assert length == len(node.get('colWidths').split(','))
AssertionError
References