2020-01-29 18:37:08 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2019-08-26 21:28:27 +02:00
|
|
|
<odoo>
|
2022-04-13 12:18:36 +02:00
|
|
|
<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>
|
2020-01-29 18:37:08 +01:00
|
|
|
<group>
|
2022-04-13 12:18:36 +02:00
|
|
|
<field name="name" />
|
|
|
|
<field name="code" />
|
|
|
|
<field name="parent_id" />
|
|
|
|
<field
|
|
|
|
name="company_id"
|
|
|
|
widget="selection"
|
|
|
|
groups="base.group_multi_company"
|
|
|
|
/>
|
2020-01-29 18:37:08 +01:00
|
|
|
</group>
|
2022-04-13 12:18:36 +02:00
|
|
|
</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 editable="bottom">
|
|
|
|
<field name="name" />
|
|
|
|
<field name="code" optional="show" />
|
|
|
|
<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>
|
2019-08-26 21:28:27 +02:00
|
|
|
</odoo>
|