Commit d90fda29 authored by Kazuhiko Shiozaki's avatar 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
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,
......
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