[IMP] report_py3o: Document new methods available into the parser context

pull/744/head
Laurent Mignon (ACSONE) 2019-01-31 10:06:41 +01:00 committed by Alexandre D. Díaz
parent 626aeb2ec1
commit 407c3c0282
1 changed files with 6 additions and 0 deletions

View File

@ -166,6 +166,12 @@ display_address(partner)
Return a formatted string of the partner's address
formatLang(value, digits=None, date=False, date_time=False, grouping=True, monetary=False, dp=False, currency_obj=False)
Return a formatted numeric, monetary, date or time value according to the context language and timezone
(old implementation kept for compatibility and ease migration)
o_format_lang(value, digits=None, grouping=True, monetary=False, dp=False, currency_obj=False, no_break_space=True)
Return a formatted numeric or monetary value according to the context language and timezone
o_format_date(value, lang_code=False, date_format=False)
Return a formatted date or time value according to the context language and timezone
Sample report templates
-----------------------