Commit 41956c94 authored by Alexandre Boeglin's avatar Alexandre Boeglin

fixed "method must be called with Business Template as first argument".


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2967 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f86a8484
......@@ -1250,7 +1250,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
installed_bt = self.portal_templates.getInstalledBusinessTemplate(self.getTitle())
if installed_bt is not None:
installed_bt.trash(self)
installed_bt.replace()
installed_bt.replace(self)
# Update local dictionary containing all setup parameters
# This may include mappings
......
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