Newer
Older
<!-- Copyright 2019 Le Filament
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data>
<record id="view_cgscop_timesheet_code_tree" model="ir.ui.view">
<field name="name">cgscop.timesheet.code.tree</field>
<field name="model">cgscop.timesheet.code</field>
<field name="arch" type="xml">
<tree editable='top'>
<field name="name" required="1" />
<field name="domain" />
</tree>
</field>
</record>
<record id="action_cgscop_timesheet_code_tree" model="ir.actions.act_window">
<field name="name">Codes Activité National</field>
<field name="res_model">cgscop.timesheet.code</field>
<field name="view_mode">tree</field>
<field name="help">Affiche et gère les Codes activité Nationaux</field>
<menuitem
id="menu_cgscop_timesheet_code"
name="Codes Activité National"
parent="hr_timesheet.hr_timesheet_menu_configuration"
action="action_cgscop_timesheet_code_tree"
groups="cgscop_partner.group_cg_administrator"
/>