Commit e22a8900 authored by Jérome Perrin's avatar Jérome Perrin

bug fix: pass the `created_by_builder` to the init script it self


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5831 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58ce7813
......@@ -195,6 +195,7 @@ class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase, Translation
if self.init_script :
# Acquire the init script in the context of this object
init_script = getattr(ob, self.init_script)
kw['created_by_builder'] = created_by_builder
init_script(*args, **kw)
return ob
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment