Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
1819 Weergaven

Hi,

I am brand new to odoo.  I am only using the free online CRM version which comes with the contacts app.  I am trying to import my contacts, and there seems to be no way to avoid importing duplicates.  I am wanting to avoid duplicates when the email address matches.  I did see that I can export my current contacts which will have an ID and then those won't duplicate when imported, but unfortunately, I have a list of many other contacts that don't yet have IDs and so there will be duplicates there. 


I have seen on Google that there are some third-party solutions, and also some posts that recommend using python scripting, but I'm not sure if any of that is possible with my free plan.  Am I able to avoid duplicates based on email with the free plan?  If not, am I able to use the standard plan (which does not include Studio) and achieve this?  Thank you.  

Avatar
Annuleer
Auteur

I can't make a comment yet, but I tried Niyas' solution, and that turned my free plan into a paid trial which was not what I want.  Ideally, I want to stay on the free plan.  I have now reached out to support to try and revert back to the free plan.

even if it switched to paid trial, do the merging using the data cleaning application, once the merging is done, uninstall the data cleaning app :)) this will do the trick

Beste antwoord

1)make sql constrain to solve this issue 
2)https://apps.odoo.com/apps/modules/15.0/duplicate_contact_details_alert/#:~:text=The%20Duplicate%20contact%20alert%20module,helps%20customers%20prevent%20duplicate%20entries.

3)make filter for duplicate record fatch using custome code and make boolean true on duplicate then apply boolean filed filters on list view

Avatar
Annuleer
Beste antwoord

Hi  Joel,

You need programming knowledge to create unique constraints for the email field of the res.partners model. E.g

class ResPartner:

_inherit='res.partner' 

_sql_constraints = [
('email_uniq', 'UNIQUE (email)', 'Email already exists')
]


Avatar
Annuleer
Beste antwoord

Hi,

You can import data as it is and using data cleaning application, you can find the duplicates based on email and then merge it.

Thanks

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
mei 25
1266
1
mrt. 25
1461
0
feb. 25
807
1
feb. 25
2078
2
feb. 25
2574