I'm trying to figure out how to create a custom report/invoice, using the backend of Odoo only. I don't have server access presently.
I followed the above tutorial, but it's for V8 and there are differences between that and V11. I've followed as far as possible, the only issue is that - in 11 - there is no option for Action Binding. I've followed the rest, but I get an Odoo Server Error when I go to print from the button.
Traceback (most recent call last): File "/odoo/odoo-server/odoo/tools/cache.py", line 84, in lookup r = d[key] File "/odoo/odoo-server/odoo/tools/func.py", line 68, in wrapper return func(self, *args, **kwargs) File "/odoo/odoo-server/odoo/tools/lru.py", line 44, in __getitem__ a = self.d[obj].me
Then there are some more traceback notes and then
KeyError: ('ir.qweb', <function IrQWeb.compile at 0x7efc24086840>, 'account.kelly_report_document', ('en_GB', True, None, None, None, None))
Template not found Template: account.kelly_report_document
I've tried search for the answers online, and researched in the Odoo Development books, but no joy. Any one able to offer any assistance/guidance?
1- How to create Qweb reports in OpenErp: https://goo.gl/tg2Zyp
2- How to create custom reports in Odoo (Qweb): https://goo.gl/KZEo8X