[IMP] crm: clean after partner merge
When trying to merge partners, an sql error may be violated (e.g. unique constraints). In this case, catch the error and delete the problematic record as it will no longer be relevant with the old partner and left unconsistant data in the database.
Loading