## -*- coding: utf-8 -*- <%! def amount(text): return text.replace('-', '‑') # replace by a non-breaking hyphen (it will not word-wrap between hyphen and numbers) %> <%setLang(user.partner_id.lang)%> %for statement in objects:
${_('Bordereau')}
${_('Date')}
${ statement.name }
${ formatLang(statement.date,date=True) }
## date
${_('Reference')}
## period
${_('Partenaire')}
## move
${_('Montant')}
## journal
<% sum_statement = 0.0 %> %for statementline in statement.line_ids:
## curency code
${statementline.name or '' }
## currency balance
${statementline.partner_id.name or '' }
## currency balance cumulated
${formatLang(statementline.amount) | amount }
<% sum_statement += statementline.amount %>
%endfor
## curency code
## currency balance
Total
## currency balance cumulated
${formatLang(sum_statement) }
%endfor