[IMP] event: Added copy of event registration in duplicate_event.yml

bzr revid: ron@tinyerp.com-20111128091158-lm8j37ej39oz7xu0
This commit is contained in:
ron@tinyerp.com
2011-11-28 14:41:58 +05:30
parent 1343bde5ae
commit dfbfaf6d1d
+8
View File
@@ -4,5 +4,13 @@
!python {model: event.event}: |
try:
self.copy(cr, uid, ref("event_2"))
except:
pass
-
Copy of event registarion.
-
!python {model: event.registration}: |
try:
self.copy(cr, uid, ref("reg_1_1"))
except:
pass