Initial commit: Hr packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:50 +02:00
commit 62531cd146
2820 changed files with 1432848 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="ir_actions_server_action_open_presence_view" model="ir.actions.server">
<field name="name">Compute presence and open presence view</field>
<field name="model_id" ref="hr.model_hr_employee" />
<field name="state">code</field>
<field name="code">
action = env['hr.employee']._action_open_presence_view()
</field>
</record>
<menuitem id="menu_hr_presence_view" name="Presence" action="ir_actions_server_action_open_presence_view" parent="hr.hr_menu_hr_reports" groups="hr.group_hr_manager"/>
</odoo>