From 09affe7cdf8da1ba4098d1eb6967afaca98cd4db Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Tue, 14 Jul 2015 13:44:50 +0200 Subject: [PATCH] [IMP] Replace translate_doc method by t-lang attribute as this method is deprecated now that we have a cleaner system to switch translation when calling a qweb template. Update the docstring too. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace : By : ยต Impacted modules : acccount, purchase, report_intrastat. --- addons/account/views/report_invoice.xml | 9 +++--- addons/point_of_sale/report/pos_invoice.py | 1 - .../purchase/views/report_purchaseorder.xml | 5 ++-- .../views/report_purchasequotation.xml | 5 ++-- addons/report/models/report.py | 28 ------------------- .../views/report_intrastatinvoice.xml | 5 ++-- addons/website_report/report.py | 14 ---------- 7 files changed, 14 insertions(+), 53 deletions(-) diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml index 4d978122d44..8b51e0f7cdb 100644 --- a/addons/account/views/report_invoice.xml +++ b/addons/account/views/report_invoice.xml @@ -3,6 +3,7 @@