mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-26 10:32:07 +02:00
Initial commit: Hr packages
This commit is contained in:
commit
62531cd146
2820 changed files with 1432848 additions and 0 deletions
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue