How to merge two customers / third party?

We have about 800 customers in Dolibarr. Unfortunately two of them are the same customers, but different id:s (and separate orders) so it’s a bit of a mess.

I would like to merge these two into one customer, and delete the other one. That is, I want to move all invoices, proposals, orders, etc from id X to id Y.

How do I do this?

Hi,

Officially there is the module builder but I find it too heavy and too limited, I have my own version of the file to generate the DAO class but also most of the pages:

You just have to copy those file in hte build folder and launch the php page from a terminal ( the page will use the db credential define in the conf.php file

 	php build_class_from_table.php llx_mytable

br

Sorry wrong topic,

for your case, a Merge button should be available in the third party page. ( try in admin)

br

1 Like

Thank you. I completely missed that button.

I also cannot find the merge button !! :unhappy: Can I have a clue please?
I can tick the two third parties to merge, and I have a ‘select action’ drop down with confirm next to it, but only Send by EMail or Delete is in there, not merge.

Any help much appreciated. Cheers - Rich

Found it !! You must enter one of the two third party cards and merge from within there.