General Journal [[ company.name ]] Currency: [[ company.currency_id.name ]] Printing date: [[ time.strftime('%Y-%m-%d') ]] at [[ time.strftime('%H:%M:%S') ]] Journal code Journal name Period Debit trans. Credit trans.
[[ repeatIn( periods(objects), 'o') ]] [[ repeatIn(lines(o.id), 'line') ]] [[ line['code'] ]] [[ line['name'] ]] [[ o.name ]] [[ line['debit'] and ('%.2f' % line['debit']) or '' ]] [[ line['credit'] and ('%.2f' % line['credit']) or '' ]] Total [[ o.name ]] [[ '%.2f' % sum_debit_period(o.id) ]] [[ '%.2f' % sum_credit_period(o.id) ]]
TOTAL: [[ '%.2f' % sum_debit() ]] [[ '%.2f' % sum_credit() ]]