Skip to content
Snippets Groups Projects
Commit 10283d92 authored by Walid's avatar Walid
Browse files

[FIX] l10n_it_stock_ddt: report language


Steps to reproduce:
- Set up an Italian language company with Italian localisation.
- Set up an English language customer.
- Set up an Italian language supplier.
- Set up a product with dropshipping options.
- Set up a sales order for the product to be dropshipped direct
 from the Italian supplier to the English customer.
- Print the DDT report.

Bug:
The report will be printed in Italian.

Fix:
same as delivery slip reuse _get_report_lang

opw-3526633

closes odoo/odoo#137555

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent 80a35953
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,7 @@
<template id="report_ddt">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="o">
<t t-set="lang" t-value="o.partner_id.lang if o.partner_id.lang else o.env.lang"/>
<t t-set="lang" t-value="o._get_report_lang()"/>
<t t-call="l10n_it_stock_ddt.report_ddt_view" t-lang="lang"/>
</t>
</t>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment