Community mailing list archives

community@mail.odoo.com

Custom Invoice Report Error

by
Ty Muscat
- 11/02/2015 17:11:25
Hello,

I am hoping that this is a easy one to resolve.  I am attempting to write my first custom invoice report in v9 and I get an error.

File "", line 1, in <module>
QWebException: "'NoneType' object is not callable" while evaluating
"translate_doc(doc_id, doc_model, 'partner_id.lang', 'custom_invoice.report_invoice_document')"

Any suggested changes for the attached code?

Thanks in advance for the help.

Regards,

Ty Muscat