1da058f8edd10aff27bc572874080eda430771a8
Steps to reproduce the bug: - Install MRP - Uninstall MRP - Install MRP Bug: An error was raised by sql constraint 'barcode_company_uniq' which ensures that a barcode for a location is unique per company. But when uninstalling MRP, some locations such as pbm_loc_id or sam_loc_id are set to active = False and when re-installing MRP, the function _create_missing_locations tried to re-create these locations and the sql constraint was raised. opw:1967534 closes odoo/odoo#32882 Signed-off-by: Simon Goffin (sig) <sig@openerp.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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%