콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
252 화면

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


아바타
취소
베스트 답변

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

아바타
취소
베스트 답변

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

Perhaps abandoned carts from eCommerce?

아바타
취소
관련 게시물 답글 화면 활동
1
5월 25
1993
1
3월 25
2012
MERGING CONTACTS 해결 완료
1
2월 25
7802
Use of external id 해결 완료
2
2월 25
4207
2
2월 25
2814