[IMP] new form views

bzr revid: fp@tinyerp.com-20120604212913-v4ys62ho3od0i8h3
This commit is contained in:
Fabien Pinckaers
2012-06-04 23:29:13 +02:00
parent 6e38414fe9
commit 4f9dfbd40b
3 changed files with 19 additions and 19 deletions
+4 -4
View File
@@ -45,25 +45,25 @@
<field name="model">sale.config.settings</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Configure Sales" layout="manual">
<form string="Configure Sales">
<header>
<button string="Apply" type="object" name="execute"/>
<button string="Cancel" special="cancel"/>
</header>
<sheet layout="auto">
<sheet>
<group>
<group name="config_sale" colspan="4"/>
<!-- this part is necessary to allow the plugins to extend the view -->
<field name="module_crm" invisible="1"/>
<group name="config_fetchmail" colspan="4" attrs="{'invisible': [('module_crm','=',False)]}">
<group name="config_fetchmail" colspan="2" attrs="{'invisible': [('module_crm','=',False)]}">
<separator string="Emails"/>
</group>
<field name="module_plugin_thunderbird" attrs="{'invisible': [('module_crm','=',False)]}"/>
<newline/>
<field name="module_plugin_outlook" attrs="{'invisible': [('module_crm','=',False)]}"/>
<group name="config_crm" colspan="4"/>
<group name="config_crm" colspan="2"/>
</group>
</sheet>
</form>