Skip to Content
Menu
This question has been flagged
1 Reply
4330 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
Related Posts Replies Views Activity
0
Mar 15
2950
1
Jan 24
3512
2
Sep 21
2607
0
Mar 15
3681
2
Feb 24
11512