Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[ADD] event_crm: create leads from attendees #43845
This new module allows to create rules in order to generate leads from event's registrations.
A new menu, "Lead Generation", in the configuration tab of an event allows to create rules.
The flow of creation is as follow:
When the conditions are matched, it will create the lead with information based on the rule (lead type, salesperson, sales team, tags) and the registration (name, contact_name, email, ...)
Once a lead is created for an event registration, a stat button displays the number of leads created for the event of the registration and on the lead form, a stat button displays all registrations linked to the lead.
See sub commit for more detail.
Task ID : 2166679
Second part of review.
tde-banana-odoo left a comment
Technical review: architecture seems ok. Code should be cleaned a bit further, notably to have a smoother code flow and better located methods.
Side note: maybe you will hate me, but why not renaming event.crm.rule to event.lead.rule ?