Vauxoo / addons-vauxoo

All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
http://www.vauxoo.com
193 stars 288 forks source link

[9.0][account_move_report] Error printing a journal entry #1265

Closed MouTio closed 4 years ago

MouTio commented 6 years ago

When I try to print a journal entry, I get this error:

Webkit render: 

Traceback (most recent call last):
File "/etc/odoo/server/addons_extra/account_move_report/report/webkit_parser_header_fix.py", line 253, in create_single_pdf
**parser_instance.localcontext)
File "/etc/odoo/env/local/lib/python2.7/site-packages/mako/template.py", line 443, in render
return runtime._render(self, self.callable_, args, data)
File "/etc/odoo/env/local/lib/python2.7/site-packages/mako/runtime.py", line 803, in _render
**_kwargs_for_callable(callable_, data))
File "/etc/odoo/env/local/lib/python2.7/site-packages/mako/runtime.py", line 835, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/etc/odoo/env/local/lib/python2.7/site-packages/mako/runtime.py", line 860, in _exec_template
callable_(context, *args, **kwargs)
File "memory:0x7fc4a9569290", line 43, in render_body
${_("Period: ")} ${o.period_id.name or '' |entity}
AttributeError: 'account.move' object has no attribute 'period_id'