Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
Description of the issue/feature this PR addresses:
MR performs:
When merging partners, Odoo out-of-box deletes partner records merged, but in some cases, we need to know which partner was merged and maybe make a unmerge but if the record is deleted there is no way to recover that data, PR changes the method to archive records instead unlink.
Enable ignore tables when updating foreign keys in merging in order to don't repeat historical addresses, phones, or emails.
PATCH USE
Current behavior before PR:
Merged partners are deleted.
Desired behavior after PR is merged:
Merged partners are archived.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Description of the issue/feature this PR addresses:
MR performs:
When merging partners, Odoo out-of-box deletes partner records merged, but in some cases, we need to know which partner was merged and maybe make a unmerge but if the record is deleted there is no way to recover that data, PR changes the method to archive records instead unlink.
Enable ignore tables when updating foreign keys in merging in order to don't repeat historical addresses, phones, or emails.
PATCH USE
Current behavior before PR:
Merged partners are deleted.
Desired behavior after PR is merged:
Merged partners are archived.
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr