Files
odoo_source/addons/website_report
Yannick Tivisse 09affe7cdf [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.

  Replace :
    <t t-foreach="doc_ids" t-as="doc_id">
    <t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', account.report_invoice_document')"/>
    </t>
  By :
    <t t-foreach="doc_ids" t-as="doc_id">
    <t t-call="'account.report_invoice_document" t-lang="doc_id.partner_id.lang"/>µ
    </t>

  Impacted modules : acccount, purchase, report_intrastat.
2015-07-17 14:48:41 +02:00
..