Commit 3dcd5a2d authored by Yoshinori Okuji's avatar Yoshinori Okuji

Make the history of business_template_installation_workflow empty when added.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1951 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0f2d91c5
......@@ -914,7 +914,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
if portal_workflow is not None:
# Make sure that the installation state is "not installed".
if portal_workflow.getStatusOf('business_template_installation_workflow', self) is not None:
portal_workflow.setStatusOf('business_template_installation_workflow', self, 'not_installed')
# XXX Not good to access the attribute directly, but there is no API for clearing the history.
self.workflow_history['business_template_installation_workflow'] = None
def build(self):
"""
......
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