should be a after_add hook
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 23 Sep 2009 11:03:14 +0200
changeset 3402 434946bb5356
parent 3401 f893f4f199fc
child 3403 715d691280ad
should be a after_add hook
hooks/syncschema.py
--- a/hooks/syncschema.py	Wed Sep 23 10:22:04 2009 +0200
+++ b/hooks/syncschema.py	Wed Sep 23 11:03:14 2009 +0200
@@ -798,7 +798,7 @@
       schema on commit
     """
     __regid__ = 'syncaddcwetype'
-    events = ('before_add_entity',)
+    events = ('after_add_entity',)
 
     def __call__(self):
         entity = self.entity