0
3 答案
0
最佳答案
Hi Julie:
You can define Automated actions (Settings > Technical > Automation > Automated Actions) in Odoo for this.
EDIT:
For example, if you want to automatically set the stage of the Lead to "Proposition" as soon as a Quotation has been created from the Lead, you can create an Automated Action like so to automate this step.
Python code:
proposition_stage_id = env['crm.stage'].search([('name', '=', 'Proposition')]).id
record.opportunity_id.write({'stage_id': proposition_stage_id})
7
注释
Create automated action using python and xml: http://learnopenerp.blogspot.com/2020/05/how-to-create-scheduled-action-in-odoo.html