11 lines
307 B
YAML
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"
|