[ADD] event: 1) Added onchange_product event in onchange_events.yml

bzr revid: ron@tinyerp.com-20111114130546-jbcbi5li6xa3id2c
This commit is contained in:
ron@tinyerp.com 2011-11-14 18:35:46 +05:30
parent a83fcde385
commit 2452caff08
1 changed files with 5 additions and 0 deletions

View File

@ -8,3 +8,8 @@
-
!python {model: event.registration}: |
self.onchange_partner_id(cr, uid, ref('reg_1_1'), ref("base.res_partner_asus"), ref("event_1"), email=False)
-
I call onchange event to change the product of event.
-
!python {model: event.event}: |
self.onchange_product(cr, uid, ref("event_1"), ref("event_product_0"))