Antiun / antiun-odoo-addons

Antiun Odoo public addons
17 stars 46 forks source link

[FIX][partner_ref_unique] Work with contact deduplicator. #32

Closed yajo closed 8 years ago

yajo commented 8 years ago

This contraint is self-disabled when it detects by context that it is being used from the contact deduplicator.

Otherwise, the user cannot deduplicate a contact selecting the "good" one as the one without reference.

Anyway, in these cases, the check has no meaning, since it is to avoid duplicates and in this context we are currently removing them.

@Tecnativa

pedrobaeza commented 8 years ago

:+1:, although you know that I don't share the whole point why this module is needed (about making unique the ref, which is useless) :wink:

yajo commented 8 years ago

I imagine they use it for a unique ID, but anyway we should not have bugs, useless or not.

rafaelbn commented 8 years ago

Done