[[ repeatIn(objects, 'o') ]] Journal [[ data['model']=='account.journal.period'and 'Company' or removeParentNode('para') ]] [[ data['model']=='ir.ui.menu' and 'Chart of Accounts' or removeParentNode('para') ]] Fiscal Year Journal Period Entries Sorted By Target Moves [[ get_account(data) or '' ]] [[ get_fiscalyear(data) or '' ]] [[ o.journal_id.name ]] [[ o.period_id.name ]] [[ get_sortby(data) ]] [[ get_target_move(data) ]] [[ set_last_move_id(False) ]]
[[ display_currency(data) == False or removeParentNode('section') ]] Move Date Account Partner Label Tax Debit Credit
[[ repeatIn(lines(o.period_id.id, o.journal_id.id), 'line') ]] [[ not check_last_move_id(line.move_id.id) and removeParentNode('blockTable') ]] [[ line.move_id.name <> '/' and line.move_id.name or ('*'+str(line.move_id.id)) ]] [[ formatLang(line.date,date=True) ]] [[ line.account_id.code ]] [[ line.partner_id and strip_name(line.partner_id.name,15) ]] [[ strip_name(line.name,25) ]] [[ line.tax_code_id and line.tax_code_id.code and (line.tax_code_id.code + ':') ]] [[ line.tax_amount and formatLang(line.tax_amount, currency_obj=company.currency_id) ]] [[ formatLang(line.debit, currency_obj=company.currency_id) ]] [[ formatLang(line.credit, currency_obj=company.currency_id) ]] [[ set_last_move_id(line.move_id.id) ]]
Total: [[ formatLang(sum_debit(o.period_id.id, o.journal_id.id), currency_obj=company.currency_id) ]] [[ formatLang(sum_credit(o.period_id.id, o.journal_id.id), currency_obj=company.currency_id) ]]
[[ display_currency(data) or removeParentNode('section') ]] Move Date Account Partner Label Tax Debit Credit Currency
[[ repeatIn(lines(o.period_id.id, o.journal_id.id), 'line') ]] [[ not check_last_move_id(line.move_id.id) and removeParentNode('blockTable') ]] [[ line.move_id.name <> '/' and line.move_id.name or ('*'+str(line.move_id.id)) ]] [[ formatLang(line.date,date=True) ]] [[ line.account_id.code ]] [[ line.partner_id and strip_name(line.partner_id.name,12) ]] [[ strip_name(line.name,16) ]] [[ line.tax_code_id and line.tax_code_id.code and (line.tax_code_id.code + ':') ]] [[ line.tax_amount and formatLang(line.tax_amount, currency_obj=company.currency_id) ]] [[ formatLang(line.debit, currency_obj=company.currency_id) ]] [[ formatLang(line.credit, currency_obj=company.currency_id) ]] [[ line.currency_id and formatLang(line.amount_currency, currency_obj=line.currency_id) or '' ]] [[ set_last_move_id(line.move_id.id) ]]
Total: [[ formatLang(sum_debit(o.period_id.id, o.journal_id.id), currency_obj=company.currency_id) ]] [[ formatLang(sum_credit(o.period_id.id, o.journal_id.id), currency_obj=company.currency_id) ]]
Tax Declaration [[ repeatIn(tax_codes(o.period_id.id,o.journal_id.id), 't') ]][[ t.code + ': ' ]] [[ formatLang(sum_vat( o.period_id.id, o.journal_id.id, t.id)) ]] [[ t.name ]]