Hello,
I have a problem with number formatting in qweb reports.
I have set Decimal Accuracy in settings and numbers are in correct format if defined as "t-field". If you need to calculate result or call a function you need to do it with "t-esc" and in this case numbers are not in correct format.
I saw you can use "formatLang" as in RML reporting, but you have to wrap old RML parser with Qweb one as in "report_payslip". But isn't this nonsense. Throwing away RML reporting in behalf of Qweb and now wrapping it again?
What will happen in Odoo 9, will this solution work also (as I know there will be no support for RML)?
What can be done? Call a function and format a number on 'python' side or is there some other solution?
Thanks for any info or advise,
Matjaž