Hi, I am trying to replace the existing stock inventory report with a customized one.
Unfortunatelly I am not being able to replace the existing report and I am getting the following error while trying to get the PDF. I suspect the new report is not being properly registered.
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_qweb.py", line 199, in get_template
raise QWebTemplateNotFound("Template %r not found" % name, template=origin_template)
QWebTemplateNotFound: Template u'stock.report_inventory' not found
I have tried:
... customized report from standard stock report inventory ...
<record id="stock.report_inventory" model="ir.actions.report.xml">
<field name="paperformat_id" ref="custom_reports.A4_smallmargin"/>
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/5/15, 5:25 PM|
|Seen: 708 times|
|Last updated: 11/5/15, 5:25 PM|