964d35207717af9e7bf42e6f9293249cb6e48991
When generating an SO, the down payment section is translated into the language of the current user instead of the language of the partner. Step to reproduce the issue: 1) Install the Sales module 2) Install another language (e.g.: French) and change the language of a partner to this language. 3) Create a quotation for the partner which you just changed its language (and confirm it) 4) Create an invoice (down payment) of 50% for example (confirm the invoice) 5) Create another invoice to complete the payment (confirm it too) 6) Go the latest invoice and print it You should see that the "Down Payments" section is kept in English instead of the other language (e.g. French). Solution: The issue is simply that the translation of the concerned term is translated using the lang of the user instead of the lang of the partner. To fix this, we must update the current context to change the lang to the partner language (defaulting to the user language if the partner has no lang). The side effect is that in the frontend, the user will see this section in the language of the partner instead of his own (which may looks as a bug). Unfortunately, it is an inherent functionnality of reports, we cannot do it otherwise (we have the same issue with the label of the Down Payment). opw-2865865 closes odoo/odoo#93210 X-original-commit: 2859f2709f92f8947c1f81f52a580ad3510316eb Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Desausoi Laurent (lade) <lade@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%