General ledger From [[ data['form']['date1'] ]] to [[ data['form']['date2'] ]] [[ company.name ]] Complete Currency: [[ company.currency_id.name ]] Printing date: [[ time.strftime('%Y-%m-%d') ]] at [[ time.strftime('%H:%M:%S') ]] Date J. code Voucher Nb Entry label Debit Credit Progressive balance
[[ repeatIn(objects, 'o') ]] [[ o.code ]] [[ o.name ]] [[ repeatIn(lines(o), 'line') ]][[ line['date'] ]] [[ line['code'] ]] [[ line['ref'] ]] [[ line['name'] ]] [[ line['debit'] and '%.2f' % line['debit'] or '' ]] [[ line['credit'] and '%.2f' % line['credit'] or '' ]] [[ line['progress'] and '%.2f' % line['progress'] or '' ]] Account total [[ o.code ]] [[ '%.2f' % sum_debit_account(o) ]] [[ '%.2f' % sum_credit_account(o) ]] [[ '%.2f' % (sum_debit_account(o) - sum_credit_account(o)) ]]
TOTAL: [[ '%.2f' % sum_debit() ]] [[ '%.2f' % sum_credit() ]] [[ '%.2f' % (sum_debit() - sum_credit()) ]]