Commit 96031dcb authored by Rafael Monnerat's avatar Rafael Monnerat

Do not use parameter into after script, make it more generic.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42129 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 52ca7250
...@@ -461,11 +461,7 @@ class BusinessConfiguration(Item): ...@@ -461,11 +461,7 @@ class BusinessConfiguration(Item):
kw["tag"] = bt_file.getTitle() kw["tag"] = bt_file.getTitle()
if execute_after_setup_script: if execute_after_setup_script:
customer_template = self.getSpecialiseValue() self.activate(**kw).ERP5Site_afterConfigurationSetup()
customer_template_relative_url = customer_template.getRelativeUrl()
self.activate(**kw).ERP5Site_afterConfigurationSetup(
customer_template_relative_url=customer_template_relative_url,
alter_preferences=True)
LOG("Business Configuration", INFO, LOG("Business Configuration", INFO,
"After setup script called (force) for %s : %s" % "After setup script called (force) for %s : %s" %
(self.getRelativeUrl(), self.getSpecialise())) (self.getRelativeUrl(), self.getSpecialise()))
......
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