Allow overriding digits in Lang.currency and Report.format_currency
issue9588 review292221002
This commit is contained in:
1 parent
54a61903d5
commit
c8d7f19ca5
1 file changed
+2
-2
+2
-2
@@ -658,7 +658,7 @@
|
||||
<text:p text:style-name="P12"><text:placeholder text:placeholder-type="text"><(format_number(line.quantity, purchase.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, purchase.party.lang, digits=line.__class__.unit_price.digits[1], monetary=purchase.currency)></text:placeholder></text:p>
|
||||
<text:p text:style-name="P13"><text:placeholder text:placeholder-type="text"><format_currency(line.unit_price, purchase.party.lang, purchase.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>
|
||||
@@ -834,4 +834,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