ce5fc3a1f233dabd796b6f9eddf1b4bbfe22c4f8
Steps to reproduce: - Install Accounting - Create a Company located in Italy (e.g. Company A) - Create another company located in Italy (e.g. Company B) - Switch to Company A and set its fiscal localization to Italy in Accounting settings - Switch to Company B and set its fiscal localization to Italy in Accounting settings - Try to install "Italy - E-invoicing (Withholding)" module (10n_it_edi_withholding") => An User Error is raised: "Incompatible companies on records: - 'account.tax.repartition.line,688' belongs to company 'Company B' and 'Account' (account_id: '160900 Receivables for withholdings incurred') belongs to another company. - 'account.tax.repartition.line,690' belongs to company 'Company B' and 'Account' (account_id: '160900 Receivables for withholdings incurred') belongs to another company. - 'account.tax.repartition.line,692' belongs to company 'Company B' and 'Account' (account_id: '260200 Payables for withholding taxes to be paid') belongs to another company. - 'account.tax.repartition.line,694' belongs to company 'Company B' and 'Account' (account_id: '260200 Payables for withholding taxes to be paid') belongs to another company. - 'account.tax.repartition.line,696' belongs to company 'Company B' and 'Account' (account_id: '160900 Receivables for withholdings incurred') belongs to another company." Cause: When installing "10n_it_edi_withholding" module, some tax data are updated for each Italian company. These data are "generic" (not linked to any company) data, but some treatment is performed on them for the first Italian company, linking them to the account ids of that company. The following companies are then updated with data linked to the first company. opw-3538921 closes odoo/odoo#141898 X-original-commit: 9939789fd7024d864c365fe8f3ce311b96ba652c Signed-off-by: William André (wan) <wan@odoo.com> Signed-off-by: Anh Thao Pham (pta) <pta@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%