From bada3f2618b88ac369bd7aaa31de0ca82e17c664 Mon Sep 17 00:00:00 2001 From: "DBR (OpenERP)" Date: Fri, 2 Sep 2011 16:53:52 +0530 Subject: [PATCH] [Merge]crm_claim : Improve the test case bzr revid: dbr@tinyerp.com-20110902112352-t958m7p5j1j249bj --- addons/crm_claim/test/test_crm_claim.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/addons/crm_claim/test/test_crm_claim.yml b/addons/crm_claim/test/test_crm_claim.yml index a99831c0588..968cfb08bd1 100644 --- a/addons/crm_claim/test/test_crm_claim.yml +++ b/addons/crm_claim/test/test_crm_claim.yml @@ -29,5 +29,10 @@ I make this claim as Open - !python {model: crm.claim}: | - self.case_open(cr, uid, [ref('crm_claim_damagedproduct0')]) + self.case_open(cr, uid, [ref('crm_claim_damagedproduct0')]) +- | + I am changing partner Assigned to the Claim +- + !python {model: crm.claim}: | + self.onchange_partner_id(cr, uid, [ref('crm_claim_damagedproduct0')], ref('base.res_partner_10'))