Use items function to iterate over fees
The iteritems method does not exist anymore in Python3. issue10679 review346821002
This commit is contained in:
1 parent
94cfa0928f
commit
4049dc5ba4
1 file changed
+2
-2
+2
-2
@@ -554,7 +554,7 @@
|
||||
<text:p text:style-name="P28">Reminder Notice</text:p>
|
||||
<text:p text:style-name="P12"><text:span text:style-name="T1">Date: </text:span><text:span text:style-name="T1"><text:placeholder text:placeholder-type="text"><format_date(today, party.lang)></text:placeholder></text:span></text:p>
|
||||
<text:p text:style-name="P10"><text:placeholder text:placeholder-type="text"><if test="letter.fees"></text:placeholder></text:p>
|
||||
<text:p text:style-name="P11"><text:span text:style-name="T2">Fees: </text:span><text:placeholder text:placeholder-type="text"><', '.join(format_currency(amount, party.lang, cur) for cur, amount in letter.fees.iteritems())></text:placeholder></text:p>
|
||||
<text:p text:style-name="P11"><text:span text:style-name="T2">Fees: </text:span><text:placeholder text:placeholder-type="text"><', '.join(format_currency(amount, party.lang, cur) for cur, amount in letter.fees.items())></text:placeholder></text:p>
|
||||
<text:p text:style-name="P10"><text:placeholder text:placeholder-type="text"></if></text:placeholder></text:p>
|
||||
<table:table table:name="Dunnings" table:style-name="Dunnings">
|
||||
<table:table-column table:style-name="Dunnings.A" table:number-columns-repeated="5"/>
|
||||
@@ -659,4 +659,4 @@
|
||||
<text:p text:style-name="P8"><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