From 900d733fcd7d6a8f381edca5ab9d254989619331 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Thu, 21 May 2026 14:06:16 +0200 Subject: [PATCH] GL detail report --- modules/account/general_ledger_detail.fodt | 922 ++++++++++++++++++--- 1 file changed, 788 insertions(+), 134 deletions(-) diff --git a/modules/account/general_ledger_detail.fodt b/modules/account/general_ledger_detail.fodt index b0479d8..f4ae9ab 100644 --- a/modules/account/general_ledger_detail.fodt +++ b/modules/account/general_ledger_detail.fodt @@ -1,171 +1,825 @@ - - - Tryton Relatorio - General Ledger Detail - + + + LibreOffice/7.3.5.2$Linux_X86_64 LibreOffice_project/30$Build-22008-06-07T15:26:412008-08-27T17:03:361PT0S - - + + 24130 + 0 + 48129 + 22994 + true + false + + + view2 + 19627 + 29242 + 0 + 24130 + 48128 + 47122 + 0 + 0 + false + 100 + false + false + false + + + + + false + false + false + true + true + true + true + true + false + 0 + false + false + false + false + false + true + false + false + false + false + false + true + true + true + false + false + false + false + false + false + false + true + false + false + true + false + false + false + true + 0 + 1 + true + false + + high-resolution + false + + + false + false + true + false + true + true + false + true + + true + 4069242 + + true + false + true + true + 0 + + false + false + false + false + false + true + false + false + false + false + true + false + false + + false + false + true + false + false + false + false + false + false + false + false + false + 2070049 + false + false + false + false + false + false + true + true + false + + + + + + - + + + + + + + + - - - + + + + + + - - - + + + + + + + + + + + + - - - + + + - - + + + - - - + + - - + + + - - - + + + - - + + + - - - + + - - + + + - - - - - - - - - - - - - - + + + - - + + + + + + + - - + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + Company: <company.rec_name> + + + General Ledger Detail<if test="not context.get('posted')"> Draft</if> + + + Print Date: <format_date(datetime.date.today(), user.language)>at <datetime.datetime.now().strftime('%H:%M:%S')> + + + + + + + + + + + User: <user.rec_name> + + + 1/3 + + + + + - - General Ledger Detail - - <company.rec_name> - - Fiscal Year: - <fiscalyear.rec_name> - - - From - <format_date(from_date, user.language) if from_date else ''> - to - <format_date(to_date, user.language) if to_date else ''> - - <for each="group in groups"> - - - - - - - - - - - - - - - - - <group['account']> - / - <group['currency'].rec_name if group['currency'] else ''> - + + + + + + + + + + General Ledger Detail<if test="not context.get('posted')"> Draft</if> + Fiscal Year: <fiscalyear.rec_name> + <if test="start_period or end_period"> + From Period: <start_period.name if start_period else ''>To <end_period.name if end_period else ''> + </if> + <if test="from_date or to_date"> + From Date: <format_date(from_date, user.language) if from_date else ''>To <format_date(to_date, user.language) if to_date else ''> + </if> + <for each="group in groups"> + + + + + + + + + + Account / Currency + + + + + + + + + + + <group['account']>/<group['currency'].rec_name if group['currency'] else ''> + + + + + + + + + + Date + Journal + Entry / Doc. + Debit + Credit + Running + Description / Ref. + + + + + <for each="line in group['lines']"> - - - Type - Date - Journal - Entry - Document - Party - Description - Reference - Debit - Credit - Balance - Running + + <format_date(line.posting_date, user.language) if line.posting_date else ''> + <line.journal.rec_name if line.journal else ''> + <line.journal_entry_number or ''><line.document_number or line.voucher_number or ''> + <format_currency(line.debit_base_currency or 0, user.language, line.base_currency or company.currency)> + <format_currency(line.credit_base_currency or 0, user.language, line.base_currency or company.currency)> + <format_currency(line.running_balance_base_currency or 0, user.language, line.base_currency or company.currency)> + <line.description or line.move_description or ''><line.party.rec_name if line.party else ''><line.reference or ''> - - - <for each="line in group['lines']"><line.row_type.title() if line.row_type else ''> + + + + </for> - <format_date(line.posting_date, user.language) if line.posting_date else ''> - <line.journal.rec_name if line.journal else ''> - <line.journal_entry_number or ''> - <line.document_number or line.voucher_number or ''> - <line.party.rec_name if line.party else ''> - <line.description or line.move_description or ''> - <line.reference or ''> - <format_currency(line.debit_base_currency or 0, user.language, line.base_currency or company.currency)> - <format_currency(line.credit_base_currency or 0, user.language, line.base_currency or company.currency)> - <format_currency(line.balance_base_currency or 0, user.language, line.base_currency or company.currency)> - <format_currency(line.running_balance_base_currency or 0, user.language, line.base_currency or company.currency)></for> + - - </for> + </for>