Allow overriding digits in Lang.currency and Report.format_currency
issue9588 review292221002
This commit is contained in:
1 parent
996cfb90a9
commit
4f0a3d04a0
1 file changed
+2
-2
@@ -596,7 +596,7 @@
|
||||
<text:p text:style-name="P12"><text:placeholder text:placeholder-type="text"><(format_number(line.quantity, sale.party.lang, digits=line.unit_digits) + (line.unit and (' ' + line.unit.symbol) or '')) or ''></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Table1.D5" office:value-type="string">
|
||||
<text:p text:style-name="P13"><text:placeholder text:placeholder-type="text"><format_number(line.unit_price, sale.party.lang, digits=line.__class__.unit_price.digits[1], monetary=sale.currency)></text:placeholder></text:p>
|
||||
<text:p text:style-name="P13"><text:placeholder text:placeholder-type="text"><format_currency(line.unit_price, sale.party.lang, sale.currency, digits=line.__class__.unit_price.digits[1])></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Table1.D5" office:value-type="string">
|
||||
<text:p text:style-name="P14"><text:placeholder text:placeholder-type="text"><for each="tax in line.taxes"></text:placeholder></text:p>
|
||||
@@ -771,4 +771,4 @@
|
||||
<text:p text:style-name="Text_20_body"><text:placeholder text:placeholder-type="text"></for></text:placeholder></text:p>
|
||||
</office:text>
|
||||
</office:body>
|
||||
</office:document>
|
||||
</office:document>
|
||||
Reference in new issue
Block a user