partner_event
Link event registrations with partner records to improve attendee tracking, data synchronization, and bulk enrollment tools for Odoo events.
Key Features
- res.partner: Adds a stat button that counts confirmed registrations for the partner hierarchy and opens the related attendee list.
- res.partner: Propagates name, email, and phone changes to attendee registrations of ongoing events so contact data stays synchronized.
- res.partner: Extends the partner search view with filters based on linked event registrations to find contacts by their event participation.
- event.registration: Introduces an attendee_partner_id field shown on registration forms and lists so each registration clearly references the attending partner.
- event.registration: Automatically links or creates attendee partner records when registrations are created or edited by matching on email and honoring the event’s create_partner setting.
- event.registration: Protects referenced partners from deletion by setting partner_id and attendee_partner_id relations to ondelete='restrict'.
- event.registration: Restores the partner onchange behavior so selecting a partner copies address and phone details, even handling the legacy mobile field fallback.
- event.registration: Adds an 'Attended' search filter that isolates registrations whose state is done for quicker reporting.
- event.event: Adds a create_partner toggle on events to decide whether partner records should be auto-generated when entering attendee data.
- event.registration: Runs a post-init hook that backfills attendee_partner_id on existing registrations by matching partners through their email addresses.
- res.partner.register.event: Provides a wizard action from the partner list to batch-register multiple selected partners into an event without creating duplicates.
- base.partner.merge.automatic.wizard: Injects a context flag during partner merges so attendee linking logic is bypassed while the merge updates records.