Files
odoo_source/addons/crm/test/process/draft2open_lead.yml
T
ron@tinyerp.com d756ccfb55 [IMP, REF] crm: 1) Renamed lead_open.yml to draft2open_lead.yml,
2) Improved string value, 
3) Updated __openerp__.py

bzr revid: ron@tinyerp.com-20111017130651-kbsl9j33jui7at98
2011-10-17 18:36:51 +05:30

11 lines
307 B
YAML

-
I got lead from Customer, I open this lead.
-
!python {model: crm.lead}: |
self.case_open(cr, uid, [ref("crm_case_qrecorp0")])
- |
In order to test lead, i test lead is in open stage.
-
!assert {model: crm.lead, id: crm.crm_case_qrecorp0, string: Lead in open state}:
- state == "open"