Commit 24bf5b00 authored by Julien Muchembled's avatar Julien Muchembled

Fix passing 'created_by_builder' parameter to init scripts

This fixes a regression in 66cb9c96
parent 20b96139
......@@ -419,8 +419,7 @@ class ERP5TypeInformation(XMLObject,
init_script = self.getTypeInitScriptId()
if init_script:
# Acquire the init script in the context of this object
kw['created_by_builder'] = created_by_builder
getattr(ob, init_script)()
getattr(ob, init_script)(created_by_builder=created_by_builder)
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