I am trying to send Balance Sheet PDF through email
For that I inherit module "accounting.report"I create a email template for the same object
when I am trying to add qweb template it is raising for error to the email template getting error
File "/home/praveen/workspace/aberdeen-odoo/addons/account/report/account_financial_report.py", line 49, in set_context
if (data['model'] == 'ir.ui.menu'):
TypeError: 'NoneType' object has no attribute '__getitem__'
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: 10/23/15, 6:24 AM|
|Seen: 178 times|
|Last updated: 10/23/15, 6:24 AM|