On Friday, September 29, 2017 at 6:05:07 PM UTC-4, Cédric Krier wrote:
> Since 4.2, there is a standard wizard PartyReplace in party module.

To make sure I understand, it appears that PartyReplace only moves over the 
addresses and contact_mechanisms (the 'fields_to_replace').  I'm guessing the 
wizard is provided to do this because otherwise the write methods would prevent 
changes.

This leaves a lot of issues that would need to be resolved manually (eg 
re-pointing party relationships).  I'm guessing you decided to stick with your 
point of view regarding the OpenLabs/Nantic version that "you don't have to 
change the referencial all over the place.  You just have to deactivate the 
duplica[te]."[1]

Probably the OpenLabs/Nantic is better for my use case, where I am going to 
programmatically generate a bunch of parties at once, some of which are 
duplicates, and I want to consolidate the newly created party relationship when 
merging.

I take your point from [1] that merging can break history, so probably I should 
make sure that the only parties I merge out of existence are the ones I've just 
created (so they are not yet used in history elsewhere).

[1]https://groups.google.com/forum/#!topic/tryton-contrib/42hnBzEfvPE

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/b76bc9b1-9528-437b-9b42-aa923fff263f%40googlegroups.com.

Reply via email to