Browse Source

[IMP] correct/add reference field in financial reports

pull/7/merge
Matthieu Dietrich 11 years ago
parent
commit
1c687c8d4a
  1. 16
      account_financial_report_webkit/report/templates/account_report_general_ledger.mako
  2. 18
      account_financial_report_webkit/report/templates/account_report_partners_ledger.mako
  3. 14
      account_financial_report_webkit/report/templates/grouped_by_curr_open_invoices_inclusion.mako.html
  4. 16
      account_financial_report_webkit/report/templates/open_invoices_inclusion.mako.html

16
account_financial_report_webkit/report/templates/account_report_general_ledger.mako

@ -93,15 +93,17 @@
## period ## period
<div class="act_as_cell" style="width: 50px;">${_('Period')}</div> <div class="act_as_cell" style="width: 50px;">${_('Period')}</div>
## move ## move
<div class="act_as_cell" style="width: 60px;">${_('Entry')}</div>
<div class="act_as_cell" style="width: 100px;">${_('Entry')}</div>
## journal ## journal
<div class="act_as_cell" style="width: 70px;">${_('Journal')}</div> <div class="act_as_cell" style="width: 70px;">${_('Journal')}</div>
## account code ## account code
<div class="act_as_cell" style="width: 65px;">${_('Account')}</div> <div class="act_as_cell" style="width: 65px;">${_('Account')}</div>
## partner ## partner
<div class="act_as_cell" style="width: 120px;">${_('Partner')}</div>
<div class="act_as_cell" style="width: 140px;">${_('Partner')}</div>
## move reference
<div class="act_as_cell" style="width: 140px;">${_('Reference')}</div>
## label ## label
<div class="act_as_cell" style="width: 200px;">${_('Label')}</div>
<div class="act_as_cell" style="width: 160px;">${_('Label')}</div>
## counterpart ## counterpart
<div class="act_as_cell" style="width: 100px;">${_('Counter part')}</div> <div class="act_as_cell" style="width: 100px;">${_('Counter part')}</div>
## debit ## debit
@ -140,6 +142,8 @@
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## partner ## partner
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## move reference
<div class="act_as_cell"></div>
## label ## label
<div class="act_as_cell">${_('Initial Balance')}</div> <div class="act_as_cell">${_('Initial Balance')}</div>
## counterpart ## counterpart
@ -184,6 +188,8 @@
<div class="act_as_cell">${account.code}</div> <div class="act_as_cell">${account.code}</div>
## partner ## partner
<div class="act_as_cell overflow_ellipsis">${line.get('partner_name') or ''}</div> <div class="act_as_cell overflow_ellipsis">${line.get('partner_name') or ''}</div>
## move reference
<div class="act_as_cell">${line.get('lref') or ''}</div>
## label ## label
<div class="act_as_cell">${label}</div> <div class="act_as_cell">${label}</div>
## counterpart ## counterpart
@ -206,8 +212,8 @@
<div class="act_as_table list_table"> <div class="act_as_table list_table">
<div class="act_as_row labels" style="font-weight: bold;"> <div class="act_as_row labels" style="font-weight: bold;">
## date ## date
<div class="act_as_cell first_column" style="width: 350px;">${account.code} - ${account.name}</div>
<div class="act_as_cell" style="width: 365px;">${_("Cumulated Balance on Account")}</div>
<div class="act_as_cell first_column" style="width: 615px;">${account.code} - ${account.name}</div>
<div class="act_as_cell" style="width: 260px;">${_("Cumulated Balance on Account")}</div>
## debit ## debit
<div class="act_as_cell amount" style="width: 75px;">${ formatLang(cumul_debit) | amount }</div> <div class="act_as_cell amount" style="width: 75px;">${ formatLang(cumul_debit) | amount }</div>
## credit ## credit

18
account_financial_report_webkit/report/templates/account_report_partners_ledger.mako

@ -102,13 +102,15 @@
## period ## period
<div class="act_as_cell" style="width: 70px;">${_('Period')}</div> <div class="act_as_cell" style="width: 70px;">${_('Period')}</div>
## move ## move
<div class="act_as_cell" style="width: 70px;">${_('Entry')}</div>
<div class="act_as_cell" style="width: 100px;">${_('Entry')}</div>
## journal ## journal
<div class="act_as_cell" style="width: 70px;">${_('Journal')}</div> <div class="act_as_cell" style="width: 70px;">${_('Journal')}</div>
## partner ## partner
<div class="act_as_cell" style="width: 60px;">${_('Partner')}</div>
<div class="act_as_cell" style="width: 100px;">${_('Partner')}</div>
## move reference
<div class="act_as_cell" style="width: 60px;">${_('Reference')}</div>
## label ## label
<div class="act_as_cell" style="width: 310px;">${_('Label')}</div>
<div class="act_as_cell" style="width: 280px;">${_('Label')}</div>
## reconcile ## reconcile
<div class="act_as_cell" style="width: 80px;">${_('Rec.')}</div> <div class="act_as_cell" style="width: 80px;">${_('Rec.')}</div>
## debit ## debit
@ -150,6 +152,8 @@
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## partner ## partner
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## move reference
<div class="act_as_cell"></div>
## label ## label
<div class="act_as_cell" >${_('Initial Balance')}</div> <div class="act_as_cell" >${_('Initial Balance')}</div>
## reconcile ## reconcile
@ -191,6 +195,8 @@
<div class="act_as_cell">${line.get('jcode') or ''}</div> <div class="act_as_cell">${line.get('jcode') or ''}</div>
## partner ## partner
<div class="act_as_cell overflow_ellipsis">${line.get('partner_name') or ''}</div> <div class="act_as_cell overflow_ellipsis">${line.get('partner_name') or ''}</div>
## move reference
<div class="act_as_cell">${line.get('lref') or ''}</div>
## label ## label
<div class="act_as_cell">${label}</div> <div class="act_as_cell">${label}</div>
## reconcile ## reconcile
@ -221,6 +227,8 @@
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## partner ## partner
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## move reference
<div class="act_as_cell"></div>
## label ## label
<div class="act_as_cell">${_('Cumulated Balance on Partner')}</div> <div class="act_as_cell">${_('Cumulated Balance on Partner')}</div>
## reconcile ## reconcile
@ -254,9 +262,9 @@
<div class="act_as_table list_table" style="margin-top:5px;"> <div class="act_as_table list_table" style="margin-top:5px;">
<div class="act_as_row labels" style="font-weight: bold; font-size: 12px;"> <div class="act_as_row labels" style="font-weight: bold; font-size: 12px;">
<div class="act_as_cell first_column" style="width: 320px;">${account.code} - ${account.name}</div>
<div class="act_as_cell first_column" style="width: 450px;">${account.code} - ${account.name}</div>
## label ## label
<div class="act_as_cell" style="width: 390px;">${_("Cumulated Balance on Account")}</div>
<div class="act_as_cell" style="width: 360px;">${_("Cumulated Balance on Account")}</div>
## debit ## debit
<div class="act_as_cell amount" style="width: 80px;">${ formatLang(account_total_debit) | amount }</div> <div class="act_as_cell amount" style="width: 80px;">${ formatLang(account_total_debit) | amount }</div>
## credit ## credit

14
account_financial_report_webkit/report/templates/grouped_by_curr_open_invoices_inclusion.mako.html

@ -34,13 +34,13 @@
## period ## period
<div class="act_as_cell" style="width: 70px;">${_('Period')}</div> <div class="act_as_cell" style="width: 70px;">${_('Period')}</div>
## move ## move
<div class="act_as_cell" style="width: 70px;">${_('Entry')}</div>
<div class="act_as_cell" style="width: 100px;">${_('Entry')}</div>
## journal ## journal
<div class="act_as_cell" style="width: 50px;">${_('Journal')}</div>
<div class="act_as_cell" style="width: 70px;">${_('Journal')}</div>
## move reference ## move reference
<div class="act_as_cell" style="width: 75px;">${_('Ref.')}</div>
<div class="act_as_cell" style="width: 100px;">${_('Reference')}</div>
## label ## label
<div class="act_as_cell" style="width: 200px;">${_('Label')}</div>
<div class="act_as_cell" style="width: 180px;">${_('Label')}</div>
## reconcile ## reconcile
<div class="act_as_cell" style="width: 80px;">${_('Rec.')}</div> <div class="act_as_cell" style="width: 80px;">${_('Rec.')}</div>
## maturity ## maturity
@ -115,6 +115,8 @@
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## journal ## journal
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## move reference
<div class="act_as_cell"></div>
## label ## label
<div class="act_as_cell">${_('Cumulated Balance on Partner')}</div> <div class="act_as_cell">${_('Cumulated Balance on Partner')}</div>
## reconcile ## reconcile
@ -148,9 +150,9 @@
%endfor %endfor
<div class="act_as_table list_table" style="margin-top:5px;"> <div class="act_as_table list_table" style="margin-top:5px;">
<div class="act_as_row labels" style="font-weight: bold; font-size: 12px;"> <div class="act_as_row labels" style="font-weight: bold; font-size: 12px;">
<div class="act_as_cell first_column" style="width: 330px;">${account.code} - ${account.name}</div>
<div class="act_as_cell first_column" style="width: 450px;">${account.code} - ${account.name}</div>
## label ## label
<div class="act_as_cell" style="width: 395px;">${_("Cumulated Balance on Account")}</div>
<div class="act_as_cell" style="width: 320px;">${_("Cumulated Balance on Account")}</div>
## debit ## debit
<div class="act_as_cell amount" style="width: 80px;">${ formatLang(account_total_debit) | amount }</div> <div class="act_as_cell amount" style="width: 80px;">${ formatLang(account_total_debit) | amount }</div>
## credit ## credit

16
account_financial_report_webkit/report/templates/open_invoices_inclusion.mako.html

@ -31,15 +31,15 @@
## period ## period
<div class="act_as_cell" style="width: 70px;">${_('Period')}</div> <div class="act_as_cell" style="width: 70px;">${_('Period')}</div>
## move ## move
<div class="act_as_cell" style="width: 70px;">${_('Entry')}</div>
<div class="act_as_cell" style="width: 100px;">${_('Entry')}</div>
## journal ## journal
<div class="act_as_cell" style="width: 50px;">${_('Journal')}</div>
<div class="act_as_cell" style="width: 70px;">${_('Journal')}</div>
## partner ## partner
<div class="act_as_cell" style="width: 60px;">${_('Partner')}</div>
<div class="act_as_cell" style="width: 120px;">${_('Partner')}</div>
## move reference ## move reference
<div class="act_as_cell" style="width: 75px;">${_('Ref.')}</div>
<div class="act_as_cell" style="width: 100px;">${_('Reference')}</div>
## label ## label
<div class="act_as_cell" style="width: 255px;">${_('Label')}</div>
<div class="act_as_cell" style="width: 180px;">${_('Label')}</div>
## reconcile ## reconcile
<div class="act_as_cell" style="width: 80px;">${_('Rec.')}</div> <div class="act_as_cell" style="width: 80px;">${_('Rec.')}</div>
## maturity ## maturity
@ -122,6 +122,8 @@
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## partner ## partner
<div class="act_as_cell"></div> <div class="act_as_cell"></div>
## move reference
<div class="act_as_cell"></div>
## label ## label
<div class="act_as_cell">${_('Cumulated Balance on Partner')}</div> <div class="act_as_cell">${_('Cumulated Balance on Partner')}</div>
## reconcile ## reconcile
@ -156,9 +158,9 @@
%endfor %endfor
<div class="act_as_table list_table" style="margin-top:5px;"> <div class="act_as_table list_table" style="margin-top:5px;">
<div class="act_as_row labels" style="font-weight: bold; font-size: 12px;"> <div class="act_as_row labels" style="font-weight: bold; font-size: 12px;">
<div class="act_as_cell first_column" style="width: 330px;">${account.code} - ${account.name}</div>
<div class="act_as_cell first_column" style="width: 520px;">${account.code} - ${account.name}</div>
## label ## label
<div class="act_as_cell" style="width: 395px;">${_("Cumulated Balance on Account")}</div>
<div class="act_as_cell" style="width: 320px;">${_("Cumulated Balance on Account")}</div>
## debit ## debit
<div class="act_as_cell amount" style="width: 80px;">${ formatLang(account_total_debit) | amount }</div> <div class="act_as_cell amount" style="width: 80px;">${ formatLang(account_total_debit) | amount }</div>
## credit ## credit

Loading…
Cancel
Save