Replace nested view by reference id
issue2401 review227004
This commit is contained in:
+17
-2
@@ -12,10 +12,11 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<form string="Dashboard Action">
|
||||
<label name="user"/>
|
||||
<field name="user"/>
|
||||
<newline/>
|
||||
<label name="act_window"/>
|
||||
<field name="act_window" widget="selection"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<label name="act_window"/>
|
||||
<field name="act_window"/>
|
||||
</form>
|
||||
]]>
|
||||
</field>
|
||||
@@ -24,6 +25,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.ui.view" id="action_view_tree">
|
||||
<field name="model">dashboard.action</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="priority" eval="10"/>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Dashboard Actions">
|
||||
@@ -35,5 +37,18 @@ this repository contains the full copyright notices and license terms. -->
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="action_view_tree_sequence">
|
||||
<field name="model">dashboard.action</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="priority" eval="20"/>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Dashboard Actions" sequence="sequence" fill="1">
|
||||
<field name="act_window"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
|
||||
@@ -15,16 +15,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<page string="Dashboard" id="dashboard" col="2">
|
||||
<label name="dashboard_layout"/>
|
||||
<field name="dashboard_layout"/>
|
||||
<field name="dashboard_actions" colspan="2">
|
||||
<tree string="Dashboard Actions"
|
||||
sequence="sequence" fill="1">
|
||||
<field name="act_window"/>
|
||||
</tree>
|
||||
<form string="Dashboard Action">
|
||||
<label name="act_window"/>
|
||||
<field name="act_window"/>
|
||||
</form>
|
||||
</field>
|
||||
<field name="dashboard_actions" colspan="2"
|
||||
view_ids="dashboard.action_view_tree_sequence"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -43,16 +35,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<page string="Dashboard" id="dashboard" col="2">
|
||||
<label name="dashboard_layout"/>
|
||||
<field name="dashboard_layout"/>
|
||||
<field name="dashboard_actions" colspan="2">
|
||||
<tree string="Dashboard Actions"
|
||||
sequence="sequence" fill="1">
|
||||
<field name="act_window"/>
|
||||
</tree>
|
||||
<form string="Dashboard Action">
|
||||
<label name="act_window"/>
|
||||
<field name="act_window" widget="selection"/>
|
||||
</form>
|
||||
</field>
|
||||
<field name="dashboard_actions" colspan="2"
|
||||
view_ids="dashboard.action_view_tree_sequence"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user