This question has been flagged
1 Reply
4126 Views

I'd like to create a custom function for an openoffice designed report.
So I've added the function in the localcontext during __init__ of the custom parser.

In that function I try to do a model search.
When it comes to comparing two dates, the object date seems to be already converted in the selected report language. This throws an error.

Any advice?

Avatar
Discard
Best Answer

I write a more extensive explanation of report parsers at:

https://www.odoo.com/es_ES/forum/help-1/question/how-to-define-a-custom-methods-functions-to-be-used-in-a-qweb-report-how-to-define-and-use-a-report-parser-92244

Avatar
Discard