diff --git a/account_partner_aged_statement_webkit/report/partner_aged_statement.mako b/account_partner_aged_statement_webkit/report/partner_aged_statement.mako index b8f40c37..57a329e5 100644 --- a/account_partner_aged_statement_webkit/report/partner_aged_statement.mako +++ b/account_partner_aged_statement_webkit/report/partner_aged_statement.mako @@ -21,10 +21,15 @@ def amount(text): # replace by a non-breaking hyphen (it will not word-wrap between hyphen and numbers) return text.replace('-', '‑') + + first = True %> %for partner in objects: <%setLang(partner.lang)%> + %if not first: +
+ %endif

<%from datetime import date %> @@ -161,7 +166,8 @@ %endif ## if getLines60(partner) %endif ## if (partner.credit + partner.debit == 0 -
+ + <%! first = False %> %endfor ## for partner in objects