Repository
odoo/odoo · module folder
Module version
1.0
Category
Human Resources/Payroll
Folder size
0.23 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-08 22:45:27
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Thibault Delavallée, Odoo Translation Bot, Yannick Tivisse, Julien Castiaux, Xavier-Do, Tiffany Chang (tic), Gorash, William Braeckman, Louis Wicket (wil), Victor Piryns (pivi), Dylan Kiss (dyki), Nicolas Viseur (vin), Youssef Bashandy, bary, aamo-odoo, rmun-odoo, Mathieu Coutant, rame-odoo, Abdelrahman Mahmoud (amah), Krzysztof Magusiak (krma), kareem, oumaima-aarabe, Ziri, Jurgen Gjini, karygauss03, dhbr-odoo, Amr Yasser (amry), Nat (naja)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_fr_hr_work_entry_holidays
Description
Manage Time Off in Payslips
============================

This application allows you to integrate time off in payslips.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_holiday_status_normal_tree hr.leave.type tree Inherits hr_holidays.view_holiday_status_normal_tree
work_entry_type_leave_form_inherit work_entry.type.leave.form.inherit hr.leave.type form Inherits hr_holidays.edit_holiday_status_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (3)
  • action_refuse(self)
    Override to archive linked work entries and recreate attendance work entries where the refused leave was.
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • work_entry_type_id Many2one → hr.work.entry.type
    index='btree_not_null' string='Work Entry Type' args: 'hr.work.entry.type'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • leave_id Many2one → hr.leave
    string='Time Off' args: 'hr.leave'
  • leave_state Selection
    related='leave_id.state'
Public methods (3)
  • action_approve_leave(self)
  • action_refuse_leave(self)
  • write(self, vals)

New fields (1)
  • leave_type_ids One2many → hr.leave.type
    help='Work entry used in the payslip.' string='Time Off Type' args: 'hr.leave.type', 'work_entry_type_id'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…