diff options
| author | Goffin Simon <sig@odoo.com> | 2019-04-23 13:33:01 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2019-04-23 13:37:18 +0000 |
| commit | 1da058f8edd10aff27bc572874080eda430771a8 (patch) | |
| tree | 1979cda510082cc8a8f00ccb84dbc3d3e4b78069 /addons/base_setup/data/base_setup_data.xml | |
| parent | 4b0b00dbd903a1ffc0a5802040cd1dd0dc6c7984 (diff) | |
[FIX] stock: Error when re-installing manufacturing application
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>
Diffstat (limited to 'addons/base_setup/data/base_setup_data.xml')
0 files changed, 0 insertions, 0 deletions
