Commit 7be5426d authored by Yoshinori Okuji's avatar Yoshinori Okuji

Whether installed or not does not matter for exporting.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26085 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 695fcb16
...@@ -5075,9 +5075,6 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -5075,9 +5075,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
if self.getBuildingState() != 'built': if self.getBuildingState() != 'built':
raise TemplateConditionError, \ raise TemplateConditionError, \
'Business Template must be built before export' 'Business Template must be built before export'
if self.getInstallationState() == 'installed':
raise TemplateConditionError, \
'Can not export installed Business Template'
if local: if local:
# we export into a folder tree # we export into a folder tree
......
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