Please HELP ! Error while updating Odoo modules
After having some problems with bill of materials in sale and purchase (Odoo Warning), I decided to update "Manufacturing" module, which showed me an error message:
IntegrityError: insert or update on table "stock_move" violates foreign key constraint "stock_move_split_from_fkey"
DETAIL: Key (split_from)=(392208) is not present in table "stock_move".
I tried to restore this database in another server, and after deleting all (split_from) rows values from pgAdmin, "Manufacturing" module update works and everything becomes functional again.
My question is: should I replicate this SQL UPDATE on my production database or not ?
Thank you very much :)
PS: I'm using Odoo V10 and Windows Server 2012 R2