[FIX] mail: put attrs on page instead of field for the field body and body_html

bzr revid: rha@tinyerp.com-20110502084429-075rjxhkvcvnl21g
This commit is contained in:
Rifakat Haradwala (Open ERP)
2011-05-02 14:14:29 +05:30
parent 96a33521da
commit be4d3edd78
+4 -4
View File
@@ -40,11 +40,11 @@
</group>
<notebook colspan="4">
<page string="Body (Text)" >
<field name="body" colspan="4" widget="text" nolabel="1" attrs="{'invisible':[('sub_type','=','html')]}"/>
<page string="Body (Text)" attrs="{'invisible':[('sub_type','=','html')]}">
<field name="body" colspan="4" widget="text" nolabel="1"/>
</page>
<page string="Body (HTML)" >
<field name="body_html" widget="text_html" nolabel="1" colspan="4" attrs="{'invisible':[('sub_type','=','plain')]}"/>
<page string="Body (HTML)" attrs="{'invisible':[('sub_type','=','plain')]}">
<field name="body_html" widget="text_html" nolabel="1" colspan="4"/>
</page>
</notebook>