Skip to content
Snippets Groups Projects
Commit f0741e1b authored by Fabien Meghazi's avatar Fabien Meghazi
Browse files

[REM] Remove multi-website support from <template> tag

This should be done later properly without polluting convert.py
parent dffa3543
No related branches found
No related tags found
No related merge requests found
......@@ -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(','))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment