l10n-switzerland-flectra/l10n_ch_hr_payroll/views/lpp_contract_view.xml

42 lines
1.3 KiB
XML
Raw Normal View History

2021-12-24 09:56:31 +00:00
<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record model="ir.ui.view" id="view_lpp_contract_form">
<field name="name">lpp.contract.form</field>
<field name="model">lpp.contract</field>
<field name="arch" type="xml">
<form string="OBP Contract">
<group>
<field name="name"/>
<field name="dc_amount"/>
</group>
</form>
</field>
</record>
<record model="ir.ui.view" id="view_lpp_contract_tree">
<field name="name">lpp.contract.tree</field>
<field name="model">lpp.contract</field>
<field name="arch" type="xml">
<tree string="OBP Contract">
<field name="name"/>
<field name="dc_amount"/>
</tree>
</field>
</record>
<record id="action_lpp_contract_list" model="ir.actions.act_window">
<field name="name">LPP Contract</field>
<field name="res_model">lpp.contract</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem id="menu_lpp_contract_list"
action="action_lpp_contract_list"
parent="hr_payroll.menu_hr_payroll_configuration"
groups="hr_payroll.group_hr_payroll_manager"
sequence="41"
/>
</flectra>