[IMP] there is no 'lead2partner' wizard anymore

bzr revid: abo@openerp.com-20121205164045-agkbtpkoiv6fim3o
This commit is contained in:
Antonin Bourguignon
2012-12-05 17:40:45 +01:00
parent e2df492679
commit d304fedd60
@@ -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')})