[IMP] test message

bzr revid: abo@openerp.com-20121001094202-iw6xwrq7fd0zwg21
This commit is contained in:
Antonin Bourguignon 2012-10-01 11:42:02 +02:00
parent 240118d67c
commit 9aec783e3c
1 changed files with 3 additions and 1 deletions

View File

@ -11,9 +11,11 @@
!assert {model: crm.lead, id: crm.crm_case_4, string: Lead in open state}:
- state == "open"
-
I create partner from lead.
I fill in a lead2partner wizard.
-
!record {model: crm.lead2partner, id: crm_lead2partner_id1, context: '{"active_model": "crm.lead", "active_ids": [ref("crm_case_4")]}'}:
-
I create a partner from the lead2partner wizard.
-
!python {model: crm.lead2partner}: |
context.update({'active_model': 'crm.lead', 'active_ids': [ref('crm_case_4')], 'active_id': ref('crm_case_4')})