Commit d90fda29 by Kazuhiko Shiozaki

use an existing method for this purpose.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43161 20353a03-c40f-0410-a6d1-a30d3c3de9de
1 parent ddb33018
......@@ -1056,7 +1056,7 @@ class TemplateTool (BaseTool):
installed_version = ''
installed_revision = ''
version_state_title = version_state_title_dict[version_state]
uid = b64encode(cPickle.dumps((repository, id)))
uid = self.encodeRepositoryBusinessTemplateUid(repository, id)
obj = newTempBusinessTemplate(self, 'temp_' + uid,
version_state = version_state,
version_state_title = version_state_title,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!