← Back to team overview

banking-addons-team team mailing list archive

[Merge] lp:~camptocamp/banking-addons/bank-statement-ext_report_lang into lp:banking-addons/bank-statement-reconcile-70

 

Vincent Renaville@camptocamp has proposed merging lp:~camptocamp/banking-addons/bank-statement-ext_report_lang into lp:banking-addons/bank-statement-reconcile-70.

Requested reviews:
  Banking Addons Core Editors (banking-addons-team)

For more details, see:
https://code.launchpad.net/~camptocamp/banking-addons/bank-statement-ext_report_lang/+merge/175310

This fix take the language on the partner linked to the current user, for the bank statement report
-- 
https://code.launchpad.net/~camptocamp/banking-addons/bank-statement-ext_report_lang/+merge/175310
Your team Banking Addons Core Editors is requested to review the proposed merge of lp:~camptocamp/banking-addons/bank-statement-ext_report_lang into lp:banking-addons/bank-statement-reconcile-70.
=== modified file 'account_statement_ext/report/bank_statement_report.mako'
--- account_statement_ext/report/bank_statement_report.mako	2012-06-20 14:10:01 +0000
+++ account_statement_ext/report/bank_statement_report.mako	2013-07-17 14:56:44 +0000
@@ -11,7 +11,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.partner_id.lang)%>
            %for statement in objects:
 
             <div class="act_as_table data_table">


Follow ups