diff options
| author | Yannick Tivisse <yti@odoo.com> | 2015-07-14 13:44:50 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2015-07-17 14:48:41 +0200 |
| commit | 09affe7cdf8da1ba4098d1eb6967afaca98cd4db (patch) | |
| tree | 329eb602e58c0c3d2436d44c4bd1543ca49f38ec /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | f38ebb36b4fcdbe52b0ce79a9b49690be91640de (diff) | |
[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.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
