[IMP]crm_claim : Improve the code
bzr revid: dbr@tinyerp.com-20110905085700-ozey706y64wsf11p
This commit is contained in:
@@ -34,5 +34,11 @@
|
||||
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'))
|
||||
|
||||
self.onchange_partner_id(cr, uid, [ref('crm_claim_damagedproduct0')], [])
|
||||
self.onchange_partner_id(cr, uid, [ref('crm_claim_damagedproduct0')], ref('base.res_partner_10'))
|
||||
- |
|
||||
I am changing partner Address to the Claim
|
||||
-
|
||||
!python {model: crm.claim}: |
|
||||
self.onchange_partner_address_id(cr, uid, [ref('crm_claim_damagedproduct0')], [], email = False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user