From ab1df166876dc8f98c6151292bb7b1d28f246fe5 Mon Sep 17 00:00:00 2001 From: fernandomr Date: Wed, 22 Jul 2015 12:03:48 -0300 Subject: [PATCH] line overlap fixed --- .../templates/account_report_general_ledger.mako | 8 ++++---- .../templates/account_report_open_invoices.mako | 2 +- .../templates/account_report_partner_balance.mako | 14 +++++++------- .../templates/account_report_partners_ledger.mako | 14 +++++++------- .../templates/account_report_print_journal.mako | 10 +++++----- .../templates/account_report_trial_balance.mako | 10 +++++----- .../report/templates/aged_trial_webkit.mako | 12 ++++++------ .../templates/open_invoices_inclusion.mako.html | 8 ++++---- 8 files changed, 39 insertions(+), 39 deletions(-) diff --git a/account_financial_report_webkit/report/templates/account_report_general_ledger.mako b/account_financial_report_webkit/report/templates/account_report_general_ledger.mako index f99f7283..6ffcfea1 100644 --- a/account_financial_report_webkit/report/templates/account_report_general_ledger.mako +++ b/account_financial_report_webkit/report/templates/account_report_general_ledger.mako @@ -91,7 +91,7 @@ ${account.code} - ${account.name}
-
+
## date
${_('Date')}
## period @@ -125,7 +125,7 @@
-
+
%if display_initial_balance: <% cumul_debit = account.init_balance.get('debit') or 0.0 @@ -179,7 +179,7 @@ label = ' '.join(label_elements) %> -
+
## date
${formatLang(line.get('ldate') or '', date=True)}
## period @@ -213,7 +213,7 @@
%endfor
-
+
## date
${account.code} - ${account.name}
diff --git a/account_financial_report_webkit/report/templates/account_report_open_invoices.mako b/account_financial_report_webkit/report/templates/account_report_open_invoices.mako index a4410820..c4051885 100644 --- a/account_financial_report_webkit/report/templates/account_report_open_invoices.mako +++ b/account_financial_report_webkit/report/templates/account_report_open_invoices.mako @@ -44,7 +44,7 @@
${_('Target Moves')}
-
+
${ chart_account.name }
${ fiscalyear.name if fiscalyear else '-' }
diff --git a/account_financial_report_webkit/report/templates/account_report_partner_balance.mako b/account_financial_report_webkit/report/templates/account_report_partner_balance.mako index 8e2cad7f..1177b368 100644 --- a/account_financial_report_webkit/report/templates/account_report_partner_balance.mako +++ b/account_financial_report_webkit/report/templates/account_report_partner_balance.mako @@ -40,7 +40,7 @@ %>
-
+
${_('Chart of Account')}
${_('Fiscal Year')}
@@ -55,7 +55,7 @@
${_('Target Moves')}
${_('Initial Balance')}
-
+
${ chart_account.name }
${ fiscalyear.name if fiscalyear else '-' }
@@ -87,7 +87,7 @@ %for index, params in enumerate(comp_params):
-
+
${_('Comparison %s') % (index + 1,)} (${"C%s" % (index + 1,)})
%if params['comparison_filter'] == 'filter_date': @@ -135,10 +135,10 @@ -
+
-
+
## account name
${_('Account / Partner Name')}
## code @@ -203,7 +203,7 @@ total_credit += partner.get('credit', 0.0) total_balance += partner.get('balance', 0.0) %> -
+
${partner_name if partner_name else _('Unallocated') }
${partner_ref if partner_ref else ''}
%if comparison_mode == 'no_comparison': @@ -244,7 +244,7 @@
-
+
## account name
${current_account.name}
## code diff --git a/account_financial_report_webkit/report/templates/account_report_partners_ledger.mako b/account_financial_report_webkit/report/templates/account_report_partners_ledger.mako index 122964a9..36d029e4 100644 --- a/account_financial_report_webkit/report/templates/account_report_partners_ledger.mako +++ b/account_financial_report_webkit/report/templates/account_report_partners_ledger.mako @@ -25,7 +25,7 @@ %>
-
+
${_('Chart of Account')}
${_('Fiscal Year')}
@@ -39,7 +39,7 @@
${_('Target Moves')}
${_('Initial Balance')}
-
+
${ chart_account.name }
${ fiscalyear.name if fiscalyear else '-' }
@@ -96,7 +96,7 @@ ${partner_name or _('No Partner')}
-
+
## date
${_('Date')}
## period @@ -141,7 +141,7 @@ cumul_balance += part_cumul_balance cumul_balance_curr += part_cumul_balance_curr %> -
+
## date
## period @@ -184,7 +184,7 @@ label_elements.append("(%s)" % (line['invoice_number'],)) label = ' '.join(label_elements) %> -
+
## date
${formatLang(line.get('ldate') or '', date=True)}
## period @@ -216,7 +216,7 @@ %endif
%endfor -
+
## date
## period @@ -261,7 +261,7 @@ %endfor
-
+
${account.code} - ${account.name}
## label
${_("Cumulated Balance on Account")}
diff --git a/account_financial_report_webkit/report/templates/account_report_print_journal.mako b/account_financial_report_webkit/report/templates/account_report_print_journal.mako index 58f3c5e6..3f42a0d8 100644 --- a/account_financial_report_webkit/report/templates/account_report_print_journal.mako +++ b/account_financial_report_webkit/report/templates/account_report_print_journal.mako @@ -20,7 +20,7 @@ <%setLang(user.lang)%>
-
+
${_('Chart of Account')}
${_('Fiscal Year')}
@@ -33,7 +33,7 @@
${_('Journal Filter')}
${_('Target Moves')}
-
+
${ chart_account.name }
${ fiscalyear.name if fiscalyear else '-' }
@@ -74,7 +74,7 @@
-
+
## date
${_('Date')}
## move @@ -110,7 +110,7 @@ account_total_debit += line.debit or 0.0 account_total_credit += line.credit or 0.0 %> -
+
## date
${formatLang(move.date, date=True) if new_move else ''}
## move @@ -140,7 +140,7 @@
%endfor %endfor -
+
## date
## move diff --git a/account_financial_report_webkit/report/templates/account_report_trial_balance.mako b/account_financial_report_webkit/report/templates/account_report_trial_balance.mako index cc833226..7d923a96 100644 --- a/account_financial_report_webkit/report/templates/account_report_trial_balance.mako +++ b/account_financial_report_webkit/report/templates/account_report_trial_balance.mako @@ -49,7 +49,7 @@ %>
-
+
${_('Chart of Account')}
${_('Fiscal Year')}
@@ -63,7 +63,7 @@
${_('Target Moves')}
${_('Initial Balance')}
-
+
${ chart_account.name }
${ fiscalyear.name if fiscalyear else '-' }
@@ -94,7 +94,7 @@ %for index, params in enumerate(comp_params):
-
+
${_('Comparison %s') % (index + 1,)} (${"C%s" % (index + 1,)})
%if params['comparison_filter'] == 'filter_date': @@ -113,7 +113,7 @@
-
+
## code
${_('Code')}
## account name @@ -177,7 +177,7 @@ last_child_consol_ids = [child_consol_id.id for child_consol_id in current_account.child_consol_ids] last_level = current_account.level %> -
+
## code
${current_account.code}
## account name diff --git a/account_financial_report_webkit/report/templates/aged_trial_webkit.mako b/account_financial_report_webkit/report/templates/aged_trial_webkit.mako index d021e252..930ca77c 100644 --- a/account_financial_report_webkit/report/templates/aged_trial_webkit.mako +++ b/account_financial_report_webkit/report/templates/aged_trial_webkit.mako @@ -45,7 +45,7 @@ <%setLang(user.lang)%>
-
+
${_('Chart of Account')}
${_('Fiscal Year')}
@@ -60,7 +60,7 @@
${_('Target Moves')}
-
+
${ chart_account.name }
${ fiscalyear.name if fiscalyear else '-' }
@@ -96,7 +96,7 @@
-
+
## partner
${_('Partner')}
## code @@ -112,7 +112,7 @@
%for partner_name, p_id, p_ref, p_name in acc.partners_order: %if acc.aged_lines.get(p_id): -
+
<%line = acc.aged_lines[p_id]%> <%percents = acc.aged_percents%> <%totals = acc.aged_totals%> @@ -128,7 +128,7 @@
%endif %endfor -
+
${_('Total')}
${formatLang(totals['balance']) | amount}
@@ -137,7 +137,7 @@ %endfor
-
+
${_('Percents')}
diff --git a/account_financial_report_webkit/report/templates/open_invoices_inclusion.mako.html b/account_financial_report_webkit/report/templates/open_invoices_inclusion.mako.html index e4969793..9762edfe 100644 --- a/account_financial_report_webkit/report/templates/open_invoices_inclusion.mako.html +++ b/account_financial_report_webkit/report/templates/open_invoices_inclusion.mako.html @@ -25,7 +25,7 @@ ${partner_name or _('No Partner')}
-
+
## date
${_('Date')}
## period @@ -77,7 +77,7 @@ label_elements.append("(%s)" % (line['invoice_number'],)) label = ' '.join(label_elements) %> -
+
## date
${formatLang(line.get('ldate') or '', date=True)}
## period @@ -111,7 +111,7 @@ %endif
%endfor -
+
## date
## period @@ -157,7 +157,7 @@ %> %endfor
-
+
${account.code} - ${account.name}
## label
${_("Cumulated Balance on Account")}