From the CRM, how can I create an automation so that when I send a quotation, the lead/opportunity automatically updates and moves to the Proposal stage?
Version 18.0+e
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
From the CRM, how can I create an automation so that when I send a quotation, the lead/opportunity automatically updates and moves to the Proposal stage?
Version 18.0+e
Hii,
please try this
Activate Developer Mode
create Automated Actions.
Click “Create” and fill in the following:
[('state','=','sent')]
Add Python Code in the Action (Server Action)
Paste this in the Python Code section:
if record.opportunity_id:
proposal_stage = env['crm.stage'].search([('name', '=', 'Proposal')], limit=1)
if proposal_stage:
record.opportunity_id.stage_id = proposal_stage.id
i hope it is use full
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
1
Aug. 24
|
2057 | ||
|
1
Nov. 23
|
3351 | ||
|
0
Mai 20
|
3025 | ||
|
2
Dez. 24
|
1455 | ||
Deleting wrong stage in CRM
Gelöst
|
|
1
Sept. 24
|
1654 |