Martin Trigaux
1660daf2fb
[FIX] crm: avoid constraint errors when merging partners
...
As for the _update_foreign_keys, the _update_reference_fields method may raise an unique constraint when merging two partners.
In such case, the new record is not relevant and can be removed.
Backport of 8d23a3a86c
.
OPW 657338, closes #9705 .
2015-11-25 14:15:25 +01:00
Martin Trigaux
54857ec409
[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.
2014-08-07 18:17:39 +02:00
Denis Ledoux
2d17c18c7d
[FIX] crm: base_partner_merge, search with lowercase for name,email
...
and without spaces for vat
2014-07-31 19:38:00 +02:00
jke-openerp
dd285d23af
[TYPO] Rename base_calendar into calendar
...
bzr revid: jke@openerp.com-20131219144739-9ic700ycef8uklbc
2013-12-19 15:47:39 +01:00
Christophe Simonis
6322df1889
[FIX] crm: base_partner_merge: be tolerant to unknown model of field in ir.model.fields
...
bzr revid: chs@openerp.com-20131014141330-h4qk2iqhn5gywrim
2013-10-14 16:13:30 +02:00
Olivier Dony
0298755c67
[FIX] base_partner_merge: properly ignore computed fields when merging 2 partners
...
bzr revid: odo@openerp.com-20130605161622-7xj8b585sslvd3lj
2013-06-05 18:16:22 +02:00
Olivier Dony
8def4f274a
[IMP] crm: partner merge wizard: prevent merging more than 3 contacts together + log note in partner history
...
bzr revid: odo@openerp.com-20130522115408-ef82getdyo2otg3q
2013-05-22 13:54:08 +02:00
Olivier Dony
a5bf0f3181
[FIX] crm: partner merge wizard: fix detection of duplicate emails + improve error messages
...
bzr revid: odo@openerp.com-20130522111131-y1urx7qx280f3tdl
2013-05-22 13:11:31 +02:00
Christophe Matthieu
b6f6b718ca
[IMP] base_partner_merge: use SUPERUSER_ID for merged contact. Add exception when the active user is not the SUPERUSER_ID if the emails is differents or if they are more of one contact with Journal Items.
...
bzr revid: chm@openerp.com-20130517085040-u9n1v0a22uruqhca
2013-05-17 10:50:40 +02:00
Olivier Dony
4229cff81c
[FIX] crm: simplify + fix multiple programming errors in partner merge wizard
...
bzr revid: odo@openerp.com-20130508162742-qxdrjg93r6md1tw5
2013-05-08 18:27:42 +02:00
Olivier Dony
cffffc9cd6
[FIX] crm: missing context propagation
...
bzr revid: odo@openerp.com-20130508150037-qtdsx3gpirwr10re
2013-05-08 17:00:37 +02:00
Christophe Matthieu
cc77560f43
[IMP] crm: base_partner_merge: The 'Automatic Merge' button open the wizard. Add field to choice the partner destination
...
bzr revid: chm@openerp.com-20130506122538-8hi7znmq4pjooasf
2013-05-06 14:25:38 +02:00
Stephane Wirtel
26e33ea7dc
[IMP] This commit contains the new wizard for the merge of partners.
...
Via this wizard, you will be able to merge a lot of partners via the email,
name, vat or other columns.
It is available in the "Sales/Tools" menu.
bzr revid: stw@openerp.com-20130502103044-ljnj5n7pvs1vsbed
2013-05-02 12:30:44 +02:00