From 3ac09540d20b1279f9ea5046467c7edc18872ac7 Mon Sep 17 00:00:00 2001 From: "Guewen Baconnier @ Camptocamp" Date: Tue, 11 Dec 2012 15:05:02 +0100 Subject: [PATCH] [FIX] res_users.context_lang -> res_users.lang --- .../report/templates/account_report_general_ledger.mako | 2 +- .../report/templates/account_report_open_invoices.mako | 2 +- .../report/templates/account_report_partner_balance.mako | 2 +- .../report/templates/account_report_partners_ledger.mako | 2 +- .../report/templates/account_report_profit_loss.mako | 2 +- .../report/templates/account_report_trial_balance.mako | 2 +- 6 files changed, 6 insertions(+), 6 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 6ed7b4a5..1796a51f 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 @@ -16,7 +16,7 @@ return text.replace('-', '‑') # replace by a non-breaking hyphen (it will not word-wrap between hyphen and numbers) %> - <%setLang(user.context_lang)%> + <%setLang(user.lang)%> <% initial_balance_text = {'initial_balance': _('Computed'), 'opening_balance': _('Opening Entries'), False: _('No')} 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 ffe102dc..02dc6952 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 @@ -26,7 +26,7 @@ <% context.lookup.put_template('open_invoices_inclusion.mako.html', template1) %> <% template2 = helper.get_mako_template('account_financial_report_webkit','report', 'templates', 'grouped_by_curr_open_invoices_inclusion.mako.html') %> <% context.lookup.put_template('grouped_by_curr_open_invoices_inclusion.mako.html', template2) %> - <%setLang(user.context_lang)%> + <%setLang(user.lang)%>
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 dd3ab367..b54e35ee 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 @@ -32,7 +32,7 @@ return any([line.get('balance') for line in all_comparison_lines]) %> - <%setLang(user.context_lang)%> + <%setLang(user.lang)%> <% initial_balance_text = {'initial_balance': _('Computed'), 'opening_balance': _('Opening Entries'), False: _('No')} 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 9182b7ed..22fdc3a2 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 @@ -17,7 +17,7 @@ return text.replace('-', '‑') # replace by a non-breaking hyphen (it will not word-wrap between hyphen and numbers) %> - <%setLang(user.context_lang)%> + <%setLang(user.lang)%> <% initial_balance_text = {'initial_balance': _('Computed'), 'opening_balance': _('Opening Entries'), False: _('No')} diff --git a/account_financial_report_webkit/report/templates/account_report_profit_loss.mako b/account_financial_report_webkit/report/templates/account_report_profit_loss.mako index 494b310f..f0f6bcf8 100644 --- a/account_financial_report_webkit/report/templates/account_report_profit_loss.mako +++ b/account_financial_report_webkit/report/templates/account_report_profit_loss.mako @@ -32,7 +32,7 @@ ${output} - <%setLang(user.context_lang)%> + <%setLang(user.lang)%>
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 8efd7647..c938ea4a 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 @@ -41,7 +41,7 @@ return text.replace('-', '‑') # replace by a non-breaking hyphen (it will not word-wrap between hyphen and numbers) %> - <%setLang(user.context_lang)%> + <%setLang(user.lang)%> <% initial_balance_text = {'initial_balance': _('Computed'), 'opening_balance': _('Opening Entries'), False: _('No')}