[[ repeatIn(objects, 'o') ]] Journal [[o.period_id.name ]] [[ company.name ]] [[ o.journal_id.code ]] [[ o.journal_id.name ]] Currency: [[ company.currency_id.name ]] Printing date: [[ time.strftime('%Y-%m-%d') ]] at [[ time.strftime('%H:%M:%S') ]] Date Voucher Nb Account Number Third party Entry label Debit Credit [[ repeatIn(lines(o.period_id.id, o.journal_id.id), 'line') ]] [[ line.date ]] [[ line.ref ]] [[ line.account_id.code ]] [[ line.partner_id and line.partner_id.name ]] [[ line.name ]] [[ line.debit and '%.2f' % line.debit or '' ]] [[ line.credit and '%.2f' % line.credit or '' ]] TOTAL: [[ '%.2f' % sum_debit(o.period_id.id, o.journal_id.id) ]] [[ '%.2f' % sum_credit(o.period_id.id, o.journal_id.id) ]]