Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
257 Tampilan

I have a relatively new Odoo 18 Enterprise database (without activities...) with a whole series of completely unknown email addresses in the contacts (see screenshot: https://www.directupload.eu/file/d/9066/kurcc2jf_png.htm). 

Where do these come from?


How can I eliminate these contacts?


When I try to delete them, I get the following message:

Validation Error

The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead.

Model: Sales Order (sale.order)

Constraint: sale_order_partner_id_fkey


Avatar
Buang
Jawaban Terbai

Hi,


In Odoo 18 Enterprise, unknown email addresses appearing in your Contacts list are often created automatically when Odoo processes incoming emails or imports data from external sources such as web forms or integrations. Whenever Odoo encounters a new email address in a message, lead, or document, it generates a new contact record, which explains why these unfamiliar entries appear.


You cannot delete these contacts directly because they are linked to other records, as indicated by the validation error referencing sale_order_partner_id_fkey. To resolve this, you can either archive the contacts to hide them while keeping your data intact or reassign their related records (like sales orders or leads) to the correct contact before deleting them.


It’s also advisable to review your email gateway and system integrations to ensure that Odoo isn’t unintentionally creating contacts from incoming emails or catchall addresses. Disabling unnecessary automatic contact creation will help prevent this issue from recurring.



Hope it helps

Avatar
Buang
Jawaban Terbai

The error is telling you these Contacts are linked to Sales Orders.

Perhaps abandoned carts from eCommerce?

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mei 25
1994
1
Mar 25
2013
MERGING CONTACTS Diselesaikan
1
Feb 25
7807
2
Feb 25
4211
2
Feb 25
2815