2
0
account-financial-tools/account_asset_management/views/account_asset_group.xml

54 lines
2.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
<record id="account_asset_group_view_form" model="ir.ui.view">
<field name="name">account.asset.group.form</field>
<field name="model">account.asset.group</field>
<field name="arch" type="xml">
<form string="Asset Group">
<group>
<group>
<field name="name" />
<field name="code" />
<field name="parent_id" />
<field
name="company_id"
widget="selection"
groups="base.group_multi_company"
/>
</group>
</group>
</form>
</field>
</record>
<record id="account_asset_group_view_tree" model="ir.ui.view">
<field name="name">account.asset.group.tree</field>
<field name="model">account.asset.group</field>
<field name="arch" type="xml">
<tree string="Asset Group" editable="bottom">
<field name="name" />
<field name="code" />
<field name="parent_id" />
<field name="company_id" groups="base.group_multi_company" />
</tree>
</field>
</record>
<record id="account_asset_group_view_search" model="ir.ui.view">
<field name="name">account.asset.group.search</field>
<field name="model">account.asset.group</field>
<field name="arch" type="xml">
<search string="Search Asset Group">
<field name="name" string="Asset Group" />
<field name="code" />
<field name="parent_id" />
</search>
</field>
</record>
<record id="account_asset_group_action" model="ir.actions.act_window">
<field name="name">Asset Groups</field>
<field name="res_model">account.asset.group</field>
<field name="view_mode">tree,form</field>
</record>
</data>
</odoo>