[REM] Remove multi-website support from <template> tag
This should be done later properly without polluting convert.py
This commit is contained in:
@@ -813,8 +813,6 @@ form: module.record_id""" % (xml_id,)
|
||||
record.append(Field(name='active', eval=el.get('active')))
|
||||
if el.get('customize_show') in ("True", "False"):
|
||||
record.append(Field(name='customize_show', eval=el.get('customize_show')))
|
||||
if 'website_id' in el.attrib:
|
||||
record.append(Field(name='website_id', ref=el.get('website_id')))
|
||||
groups = el.attrib.pop('groups', None)
|
||||
if groups:
|
||||
grp_lst = map(lambda x: "ref('%s')" % x, groups.split(','))
|
||||
|
||||
Reference in New Issue
Block a user