Vauxoo / odoo

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
https://www.odoo.com
Other
9 stars 9 forks source link

[REF] base: raise error instead delete records in partner merging #511

Closed fernandahf closed 2 years ago

fernandahf commented 2 years ago

Description of the issue/feature this PR addresses:

When an error in certain steps of the merging of partners is raised, deletion of records related is executed, then we will have concurrency errors because the backend users use the system for everything related to partners, and deletion of the records related is not an option because we are not deleting the partners either.

Current behavior before PR:

Desired behavior after PR is merged:

-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr