we just removed some of our sub stock locations in odoo (Done as Stock Manager)
now when i restart odoo from command line " /usr/bin/odoo -u custom_model ...." the updqate fails because of referential integrity check because in stock_picking the location is already referenced.
what can i do now?