odoo18/addons_extensions/employee_bridge/views/onboarding_attachment_views...

44 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_employee_bridge_requested_attachment_list" model="ir.ui.view">
<field name="name">employee.bridge.requested.attachment.list</field>
<field name="model">employee.bridge.requested.attachment</field>
<field name="arch" type="xml">
<list editable="bottom">
<field name="name"/>
<field name="attachment_type"/>
<field name="is_default"/>
</list>
</field>
</record>
<record id="view_employee_bridge_requested_attachment_form" model="ir.ui.view">
<field name="name">employee.bridge.requested.attachment.form</field>
<field name="model">employee.bridge.requested.attachment</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="name"/>
<field name="attachment_type"/>
<field name="is_default"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="action_employee_bridge_requested_attachment" model="ir.actions.act_window">
<field name="name">Onboarding Documents</field>
<field name="res_model">employee.bridge.requested.attachment</field>
<field name="view_mode">list,form</field>
</record>
<menuitem id="menu_employee_bridge_requested_attachment"
name="Onboarding Documents"
parent="menu_employee_bridge"
action="action_employee_bridge_requested_attachment"
sequence="20"
groups="hr.group_hr_user"/>
</odoo>