diff --git a/addons/crm/test/process/lead2opportunity2win.yml b/addons/crm/test/process/lead2opportunity2win.yml index a2647daa40c..2b9e9ba917b 100644 --- a/addons/crm/test/process/lead2opportunity2win.yml +++ b/addons/crm/test/process/lead2opportunity2win.yml @@ -11,11 +11,11 @@ !assert {model: crm.lead, id: crm.crm_case_4, string: Lead state is Open}: - state == "open" - - I fill in a lead2partner wizard. + I fill in a partner binding wizard. - !record {model: crm.partner.binding, id: crm_partner_binding_id1, context: '{"active_model": "crm.lead", "active_ids": [ref("crm_case_4")]}'}: - - I create a partner from the lead2partner wizard. + I create a partner from the partner binding wizard. - !python {model: crm.partner.binding}: | context.update({'active_model': 'crm.lead', 'active_ids': [ref('crm_case_4')], 'active_id': ref('crm_case_4')})