Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
317 มุมมอง

Hi everyone, 

I need some help with the Events module as it looks like Odoo creates a new contact for every event registration, even if the same person registers multiple children.

This makes contact management very complicated. Ideally, all registrations should be linked to the same contact instead of creating duplicates.

Is this the expected behavior, or is there a way to prevent duplicate contacts from being created?

Thanks in advance ! 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,


This happens because the event registration flow in Odoo doesn’t always merge or detect existing contacts.


To fix or mitigate this:


    Customize registration logic

    If possible, override or extend the registration process so it does something like:


    existing = env['res.partner'].search([('email', '=', registration_email)], limit=1)

    if existing:

        use this partner

    else:

        create new partner


    Use / check OCA module for “Unique Partner per Event”

    There is an OCA module that prevents duplicate partner registration per event (ensures same partner is reused). Odoo Community Association (OCA)


Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ต.ค. 25
405
1
พ.ค. 25
2019
1
มี.ค. 25
2029
MERGING CONTACTS แก้ไขแล้ว
1
ก.พ. 25
8015
Use of external id แก้ไขแล้ว
2
ก.พ. 25
4299