Anyone can solve this please, I get this error on printing report from my custom module.
Traceback (most recent call last):
File "/stephen/stephen-server/odoo/addons/base/models/qweb.py", line 346, in _compiled_fn
return compiled(self, append, new, options, log)
File "<template>", line 1, in template_web_external_layout_1487
AttributeError: 'int' object has no attribute 'external_report_layout_id'
Error to render compiling AST
AttributeError: 'int' object has no attribute 'external_report_layout_id'
Template: web.external_layout
Path: /templates/t/t[3]
Node: <t t-if="company.external_report_layout_id" t-call="{{company.external_report_layout_id.key}}"><t t-raw="0"/></t>
Hi Stephen, maybe you got the solution for this error, I am having the same error in my website custom module, thanks anyway.
I am facing same issue.
Did anyone found how to fix this ?
Regards
Can anybody help me please.
I am also getting this same error.