2011-09-08 10:29:35 +00:00
|
|
|
-
|
2011-10-18 07:13:58 +00:00
|
|
|
I check claim which contain customer claim information about
|
|
|
|
product related problem.
|
2010-04-21 14:43:01 +00:00
|
|
|
-
|
2011-09-08 10:29:35 +00:00
|
|
|
I make this claim as Open.
|
2010-04-21 14:43:01 +00:00
|
|
|
-
|
|
|
|
!python {model: crm.claim}: |
|
2011-10-18 07:13:58 +00:00
|
|
|
self.case_open(cr, uid, [ref('crm_case_claim04')])
|
|
|
|
claim = self.browse(cr, uid, ref('crm_case_claim04'))
|
|
|
|
assert claim.state == "open", "Claim is not in Open state"
|
|
|
|
assert claim.stage_id.id == ref("crm.stage_lead1"), "Claim is not in New stage"
|
2011-09-02 11:23:52 +00:00
|
|
|
-
|
2011-10-18 07:13:58 +00:00
|
|
|
After complete all service from our side i close this claim.
|
2011-09-05 08:57:00 +00:00
|
|
|
-
|
|
|
|
!python {model: crm.claim}: |
|
2011-10-18 07:13:58 +00:00
|
|
|
self.case_close(cr, uid, [ref('crm_case_claim04')])
|
|
|
|
claim = self.browse(cr, uid, ref('crm_case_claim04'))
|
|
|
|
assert claim.state == "done", "Claim is not in close state"
|