Commit bee765c3 authored by Vincent Pelletier's avatar Vincent Pelletier

id_generator property of business templates should not be commited (this does...

id_generator property of business templates should not be commited (this does not apply to modules stored in the business template, just to the business template object itself).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9378 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 41666249
...@@ -4331,7 +4331,7 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -4331,7 +4331,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
prop_type = prop['type'] prop_type = prop['type']
id = prop['id'] id = prop['id']
if id in ('id', 'uid', 'rid', 'sid', 'id_group', 'last_id', if id in ('id', 'uid', 'rid', 'sid', 'id_group', 'last_id',
'install_object_list_list'): 'install_object_list_list', 'id_generator'):
continue continue
value = self.getProperty(id) value = self.getProperty(id)
if prop_type in ('text', 'string', 'int', 'boolean'): if prop_type in ('text', 'string', 'int', 'boolean'):
......
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