server-ux/base_substate/views/base_substate_value_views.xml
2022-01-16 03:14:47 +00:00

84 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2020 Akretion
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<flectra>
<record id="target_state_value_view_tree" model="ir.ui.view">
<field name="model">target.state.value</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="base_substate_type_id" />
<field name="target_state_value" />
</tree>
</field>
</record>
<record id="target_state_value_view_form" model="ir.ui.view">
<field name="model">target.state.value</field>
<field name="arch" type="xml">
<form string="Target State Value">
<sheet>
<div class="oe_title">
<label for="name" class="oe_edit_only" />
<h1>
<field name="name" />
</h1>
</div>
<group>
<group
name="state_value"
colspan="4"
groups="base.group_system"
>
<field name="base_substate_type_id" />
<field name="target_state_value" />
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="target_state_value_view_search" model="ir.ui.view">
<field name="model">target.state.value</field>
<field name="arch" type="xml">
<search string="Target State Value">
<field name="name" />
<field name="base_substate_type_id" />
<field name="target_state_value" />
</search>
</field>
</record>
<record model="ir.actions.act_window" id="act_open_target_state_value_view">
<field name="name">Target State Value</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">target.state.value</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="target_state_value_view_search" />
<field name="domain">[]</field>
<field name="context">{}</field>
</record>
<record
model="ir.actions.act_window.view"
id="act_open_target_state_value_view_form"
>
<field name="act_window_id" ref="act_open_target_state_value_view" />
<field name="sequence" eval="20" />
<field name="view_mode">form</field>
<field name="view_id" ref="target_state_value_view_form" />
</record>
<record
model="ir.actions.act_window.view"
id="act_open_target_state_value_view_tree"
>
<field name="act_window_id" ref="act_open_target_state_value_view" />
<field name="sequence" eval="10" />
<field name="view_mode">tree</field>
<field name="view_id" ref="target_state_value_view_tree" />
</record>
<menuitem
id="menu_target_state_value"
parent="menu_substate_config"
sequence="20"
action="act_open_target_state_value_view"
/>
</flectra>