[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user