Skip to content

[19.0][ADD] crm_lead_create_customer - #763

Open
JordiBForgeFlow wants to merge 3 commits into
OCA:19.0from
ForgeFlow:19.0-add-crm_lead_create_customer
Open

JordiBForgeFlow wants to merge 3 commits into
OCA:19.0from
ForgeFlow:19.0-add-crm_lead_create_customer

Conversation

@JordiBForgeFlow

Copy link
Copy Markdown
Member

Standard CRM only builds the customer of a lead through the lead to opportunity wizard, which is reachable from leads alone. An opportunity that never was a lead, such as the ones website_crm creates when the sales team does not use leads, therefore keeps its contact details denormalized and never gets a customer. The standard opportunity form even hides those fields, so the company and contact names a website visitor typed are stored but unreachable.

Show the contact and address fields on opportunities without a customer, and add a highlighted Create Customer button to the status bar that opens the standard conversion wizard, reshaped: the convert/merge radio makes no sense on an opportunity, so it is replaced by a checkbox to merge the detected duplicates.

Also assign the customer when merging: crm.lead2opportunity.partner only creates it when the merge result still is a lead, so merging from an opportunity would otherwise silently produce no customer at all.

Standard CRM only builds the customer of a lead through the lead to
opportunity wizard, which is reachable from leads alone. An opportunity
that never was a lead, such as the ones website_crm creates when the
sales team does not use leads, therefore keeps its contact details
denormalized and never gets a customer. The standard opportunity form
even hides those fields, so the company and contact names a website
visitor typed are stored but unreachable.

Show the contact and address fields on opportunities without a customer,
and add a highlighted Create Customer button to the status bar that
opens the standard conversion wizard, reshaped: the convert/merge radio
makes no sense on an opportunity, so it is replaced by a checkbox to
merge the detected duplicates.

Also assign the customer when merging: crm.lead2opportunity.partner only
creates it when the merge result still is a lead, so merging from an
opportunity would otherwise silently produce no customer at all.
@JordiBForgeFlow
JordiBForgeFlow force-pushed the 19.0-add-crm_lead_create_customer branch from dc1ea42 to 2d2e959 Compare September 9, 2026 14:03
@OCA-git-bot OCA-git-bot added series:19.0 mod:crm_lead_create_customer Module crm_lead_create_customer labels Sep 9, 2026
…y matches

Found with crm_lead_partner_by_vat: an opportunity identified only by its TIN was refused, although the customer could be linked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:crm_lead_create_customer Module crm_lead_create_customer series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants