231b367d16162c4fc96de6337455da40ba9e039e
Steps: - Install "Belgium - Accounting" and "Accounting" - Add the Dutch language in settings - Select a Belgian company - Go to Accounting > Configuration > Chart of Account - Select an account like "755000 Financial income - Foreign currency translation differences" - Change the translation of the account name in English and Dutch - Create a new company in Settings > Companies - Select this new company - Go to Accounting > Configuration > Settings, set the Fiscal Localization to Belgian PCMN and save - Return in the first company - Go to Accounting > Configuration > Chart of Account and check the translations you previously set Bug: The Dutch translation has been reset and the English one remains the same. Explanation: `process_coa_translations()` uses `spoken_languages` as seen here: https://github.com/odoo/odoo/blob/bb31ce3bc6c0c7e1e101d93924eccea995206733/addons/l10n_multilang/models/l10n_multilang.py#L67 The spoken languages are defined here: https://github.com/odoo/odoo/blob/f4e7e06a1ff9756471d55138575c758f456b5905/addons/l10n_be/data/account_chart_template_data.xml#L10 This is why English is not affected. The bug appeared with https://github.com/odoo/odoo/commit/c346e7af3314ce504fe3add9e9f6a4839bcad64a It was meant to apply Chart of Account translations on the current company but applied it on all the companies. This reset edited translations on the other companies. This commit refactors `process_coa_translations()` so that we can use the same logic on a single company while keeping the definition of the original function intact. opw:2376334 closes odoo/odoo#63866 X-original-commit: 45e6309aa1d79d06c7110c86205781874ab44e30 Signed-off-by: backspac <backspac@users.noreply.github.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%