[IMP] base : when create a inherited view, the default mode should be 'extension' as the rest of field are already correctly set.

This commit is contained in:
Jérome Maes
2015-03-06 15:57:16 +01:00
parent 0c07d00bc8
commit 53fa36df63
+2 -2
View File
@@ -31,7 +31,7 @@
<field name="groups_id"/>
</page>
<page name="inherit_children" string="Inherited Views">
<field name="inherit_children_ids" context="{'default_model':model,'default_type':type,'default_inherit_id':active_id}">
<field name="inherit_children_ids" context="{'default_model':model,'default_type':type,'default_inherit_id':active_id,'default_mode':'extension'}">
<tree>
<field name="priority"/>
<field name="name"/>
@@ -104,7 +104,7 @@
<separator string="View Architecture" colspan="4" />
<field name="arch" colspan="4" nolabel="1"/>
</group>
</sheet>
</sheet>
</form>
</field>
</record>