Work Entries - Contract

hr_work_entry_contract
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/hr_work_entry_contract
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYHuman Resources/Employees
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Christophe Simonis, Yannick Tivisse, Odoo Online, Tiffany Chang (tic), Gorash, Abdelouahab (abla), Vincent Larcin, alsh-odoo, Louis Wicket (wil), Victor Piryns (pivi), Yash Vaishnav, Chong Wang (cwg), Simon Goffaux (sigo), bary, Louis (wil), mano-odoo, Chris Duvivier, “Your, kareem, oumaima-aarabe, Arthur Pierrot, Jurgen Gjini
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_work_entry
    - hr
    - base_setup
    - base
    - web
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
    - hr_contract
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
hr_contract_view_form_inherit_work_entry hr.contract.view.form.inherit.work.entry hr.contract xpath Inherits hr_contract.hr_contract_view_form
hr_work_entry_contract_type_view_form_inherit hr.work.entry.type.contract.view.form.inherit hr.work.entry.type group Inherits hr_work_entry.hr_work_entry_type_view_form
hr_work_entry_contract_view_calendar_inherit hr.work.entry.contract.view.calendar.inherit hr.work.entry xpath Inherits hr_work_entry.hr_work_entry_view_calendar
hr_work_entry_contract_view_form_inherit hr.work.entry.contract.view.form.inherit hr.work.entry xpath Inherits hr_work_entry.hr_work_entry_view_form
hr_work_entry_regeneration_wizard hr_work_entry_regeneration_wizard hr.work.entry.regeneration.wizard form New
Models touched (6)

New fields (5)
  • date_generated_from Datetime
    copy=False default=<expr> readonly=True required=True string='Generated From'
  • date_generated_to Datetime
    copy=False default=<expr> readonly=True required=True string='Generated To'
  • last_generation_date Date
    readonly=True string='Last Generation Date'
  • work_entry_source Selection
    default='calendar' help="\n Defines the source for work entries generation\n\n Working Schedule: Work entries will be generated from the working hours below.\n Attendances: Work entries will be generated from the employee's attendances. (requires Attendance app)\n Planning: Work entries will be generated from the employee's planning. (requires Planning app)\n " required=True args: [('calendar', 'Working Schedule')]
  • work_entry_source_calendar_invalid Boolean
    compute='_compute_work_entry_source_calendar_invalid'
Public methods (3)
  • generate_work_entries(self, date_start, date_stop, force=False)
  • has_static_work_entries(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • generate_work_entries(self, date_start, date_stop, force=False)

New fields (3)
  • contract_id Many2one → hr.contract
    required=True string='Contract' args: 'hr.contract'
  • employee_id Many2one
    domain=[('contract_ids.state', 'in', ('open', 'pending'))]
  • work_entry_source Selection
    related='contract_id.work_entry_source'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • init(self)

New fields (10)
  • date_from Date
    default=<expr> required=True args: 'From'
  • date_to Date
    compute='_compute_date_to' default=<expr> readonly=False required=True store=True args: 'To'
  • earliest_available_date Date
    compute='_compute_earliest_available_date' args: 'Earliest date'
  • earliest_available_date_message Char
    default='' readonly=True store=False
  • employee_ids Many2many → hr.employee
    domain=<expr> required=True string='Employees' args: 'hr.employee'
  • latest_available_date Date
    compute='_compute_latest_available_date' args: 'Latest date'
  • latest_available_date_message Char
    default='' readonly=True store=False
  • search_criteria_completed Boolean
    compute='_compute_search_criteria_completed'
  • valid Boolean
    compute='_compute_valid'
  • validated_work_entry_ids Many2many → hr.work.entry
    compute='_compute_validated_work_entry_ids' string='Work Entries Within Interval' args: 'hr.work.entry'
Public methods (1)
  • regenerate_work_entries(self)

New fields (1)
  • is_leave Boolean
    default=False help='Allow the work entry type to be linked with time off types.' string='Time Off'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/hr_work_entry_contract
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYHuman Resources/Employees
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Christophe Simonis, Xavier Morel, Wolfgang Taferner, Yannick Tivisse, Odoo Online, Samuel Degueldre, Prakash Prajapati, Tiffany Chang (tic), Gorash, Mathieu Duckerts-Antoine, Pierre Paridans, Kevin Baptiste, Abdelouahab (abla), Dossogne Bertrand, luvi, niyasraphy, alsh-odoo, Victor Piryns (pivi), Yash Vaishnav, Tommy (tong), Jurgen (jugj), Brieuc-brd, Leonardo Pavan Rocha, dasz, bary, Julien Carion (juca), utag-odoo, Louis (wil), mano-odoo, Pierre Pulinckx (pipu), “Your, kusi-odoo, oumaima-aarabe
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_work_entry
    - hr
    - base_setup
    - base
    - web
    - phone_validation
    - mail
    - bus
    - web_tour
    - resource
    - hr_contract
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
hr_contract_view_form_inherit_work_entry hr.contract.view.form.inherit.work.entry hr.contract xpath Inherits hr_contract.hr_contract_view_form
hr_work_entry_contract_type_view_form_inherit hr.work.entry.type.contract.view.form.inherit hr.work.entry.type group Inherits hr_work_entry.hr_work_entry_type_view_form
hr_work_entry_contract_view_calendar_inherit hr.work.entry.contract.view.calendar.inherit hr.work.entry xpath Inherits hr_work_entry.hr_work_entry_view_calendar
hr_work_entry_contract_view_form_inherit hr.work.entry.contract.view.form.inherit hr.work.entry xpath Inherits hr_work_entry.hr_work_entry_view_form
hr_work_entry_regeneration_wizard hr_work_entry_regeneration_wizard hr.work.entry.regeneration.wizard form New
Models touched (6)

New fields (4)
  • date_generated_from Datetime
    copy=False default=<expr> readonly=True required=True string='Generated From'
  • date_generated_to Datetime
    copy=False default=<expr> readonly=True required=True string='Generated To'
  • last_generation_date Date
    readonly=True string='Last Generation Date'
  • work_entry_source Selection
    default='calendar' help="\n Defines the source for work entries generation\n\n Working Schedule: Work entries will be generated from the working hours below.\n Attendances: Work entries will be generated from the employee's attendances. (requires Attendance app)\n Planning: Work entries will be generated from the employee's planning. (requires Planning app)\n " required=True args: [('calendar', 'Working Schedule')]
Public methods (3)
  • generate_work_entries(self, date_start, date_stop, force=False)
  • has_static_work_entries(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • generate_work_entries(self, date_start, date_stop, force=False)

New fields (3)
  • contract_id Many2one → hr.contract
    required=True string='Contract' args: 'hr.contract'
  • employee_id Many2one
    domain=[('contract_ids.state', 'in', ('open', 'pending'))]
  • work_entry_source Selection
    related='contract_id.work_entry_source'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • init(self)

New fields (10)
  • date_from Date
    default=<expr> required=True args: 'From'
  • date_to Date
    compute='_compute_date_to' default=<expr> readonly=False required=True store=True args: 'To'
  • earliest_available_date Date
    compute='_compute_earliest_available_date' args: 'Earliest date'
  • earliest_available_date_message Char
    default='' readonly=True store=False
  • employee_ids Many2many → hr.employee
    required=True string='Employees' args: 'hr.employee'
  • latest_available_date Date
    compute='_compute_latest_available_date' args: 'Latest date'
  • latest_available_date_message Char
    default='' readonly=True store=False
  • search_criteria_completed Boolean
    compute='_compute_search_criteria_completed'
  • valid Boolean
    compute='_compute_valid'
  • validated_work_entry_ids Many2many → hr.work.entry
    compute='_compute_validated_work_entry_ids' string='Work Entries Within Interval' args: 'hr.work.entry'
Public methods (1)
  • regenerate_work_entries(self)

New fields (1)
  • is_leave Boolean
    default=False help='Allow the work entry type to be linked with time off types.' string='Time Off'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/hr_work_entry_contract
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYHuman Resources/Employees
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Fabien Pinckaers, Christophe Simonis, Wolfgang Taferner, Yannick Tivisse, Romeo Fragomeli, Victor Feyens, Prakash Prajapati, William Braeckman, Kevin Baptiste, Agustín Castro Bugallo, Dossogne Bertrand, niyasraphy, Thomas Lefebvre (thle), alsh-odoo, Victor Piryns (pivi), Tommy (tong), Jurgen (jugj), tong-odoo, Leonardo Pavan Rocha, utag-odoo, Rob Coekaerts, “Your, kusi-odoo
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:52
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_work_entry
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - hr_contract
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
hr_contract_view_form_inherit_work_entry hr.contract.view.form.inherit.work.entry hr.contract xpath Inherits hr_contract.hr_contract_view_form
hr_work_entry_contract_type_view_form_inherit hr.work.entry.type.contract.view.form.inherit hr.work.entry.type group Inherits hr_work_entry.hr_work_entry_type_view_form
hr_work_entry_contract_view_calendar_inherit hr.work.entry.contract.view.calendar.inherit hr.work.entry xpath Inherits hr_work_entry.hr_work_entry_view_calendar
hr_work_entry_contract_view_form_inherit hr.work.entry.contract.view.form.inherit hr.work.entry xpath Inherits hr_work_entry.hr_work_entry_view_form
hr_work_entry_regeneration_wizard hr_work_entry_regeneration_wizard hr.work.entry.regeneration.wizard form New
Models touched (5)

New fields (4)
  • date_generated_from Datetime
    copy=False default=<expr> readonly=True required=True string='Generated From'
  • date_generated_to Datetime
    copy=False default=<expr> readonly=True required=True string='Generated To'
  • last_generation_date Date
    readonly=True string='Last Generation Date'
  • work_entry_source Selection
    default='calendar' help="\n Defines the source for work entries generation\n\n Working Schedule: Work entries will be generated from the working hours below.\n Attendances: Work entries will be generated from the employee's attendances. (requires Attendance app)\n Planning: Work entries will be generated from the employee's planning. (requires Planning app)\n " required=True args: [('calendar', 'Working Schedule')]
Public methods (3)
  • generate_work_entries(self, date_start, date_stop, force=False)
  • has_static_work_entries(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • generate_work_entries(self, date_start, date_stop, force=False)
  • generate_work_entries_web(self, date_start, date_stop, force=False)

New fields (3)
  • contract_id Many2one → hr.contract
    required=True string='Contract' args: 'hr.contract'
  • employee_id Many2one
    domain=[('contract_ids.state', 'in', ('open', 'pending'))]
  • work_entry_source Selection
    related='contract_id.work_entry_source'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (10)
  • date_from Date
    default=<expr> required=True args: 'From'
  • date_to Date
    compute='_compute_date_to' default=<expr> readonly=False required=True store=True args: 'To'
  • earliest_available_date Date
    compute='_compute_earliest_available_date' args: 'Earliest date'
  • earliest_available_date_message Char
    default='' readonly=True store=False
  • employee_ids Many2many → hr.employee
    required=True string='Employees' args: 'hr.employee'
  • latest_available_date Date
    compute='_compute_latest_available_date' args: 'Latest date'
  • latest_available_date_message Char
    default='' readonly=True store=False
  • search_criteria_completed Boolean
    compute='_compute_search_criteria_completed'
  • valid Boolean
    compute='_compute_valid'
  • validated_work_entry_ids Many2many → hr.work.entry
    compute='_compute_validated_work_entry_ids' string='Work Entries Within Interval' args: 'hr.work.entry'
Public methods (1)
  • regenerate_work_entries(self)

New fields (1)
  • is_leave Boolean
    default=False help='Allow the work entry type to be linked with time off types.' string='Time Off'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/hr_work_entry_contract
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYHuman Resources/Employees
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Christophe Simonis, Yannick Tivisse, Xavier-Do, Julien Mougenot, Prakash Prajapati, Arnaud Joset, William Braeckman, Kevin Baptiste, Agustín Castro Bugallo, Dossogne Bertrand, Tommy (tong), ahmad(alah)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:29
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_work_entry
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - hr_contract
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_work_entry_contract_type_view_form_inherit hr.work.entry.type.contract.view.form.inherit hr.work.entry.type group Inherits hr_work_entry.hr_work_entry_type_view_form
hr_work_entry_contract_view_calendar_inherit hr.work.entry.contract.view.calendar.inherit hr.work.entry xpath Inherits hr_work_entry.hr_work_entry_view_calendar
hr_work_entry_contract_view_form_inherit hr.work.entry.contract.view.form.inherit hr.work.entry xpath Inherits hr_work_entry.hr_work_entry_view_form
hr_work_entry_regeneration_wizard hr_work_entry_regeneration_wizard hr.work.entry.regeneration.wizard form New
Models touched (5)

New fields (2)
  • date_generated_from Datetime
    copy=False default=<expr> readonly=True required=True string='Generated From'
  • date_generated_to Datetime
    copy=False default=<expr> readonly=True required=True string='Generated To'
Public methods (1)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • generate_work_entries(self, date_start, date_stop, force=False)

New fields (2)
  • contract_id Many2one → hr.contract
    required=True string='Contract' args: 'hr.contract'
  • employee_id Many2one
    domain=[('contract_ids.state', 'in', ('open', 'pending'))]
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (10)
  • date_from Date
    default=<expr> required=True args: 'From'
  • date_to Date
    default=<expr> required=True args: 'To'
  • earliest_available_date Date
    compute='_compute_earliest_available_date' args: 'Earliest date'
  • earliest_available_date_message Char
    default='' readonly=True store=False
  • employee_id Many2one → hr.employee
    required=True args: 'hr.employee', 'Employee'
  • latest_available_date Date
    compute='_compute_latest_available_date' args: 'Latest date'
  • latest_available_date_message Char
    default='' readonly=True store=False
  • search_criteria_completed Boolean
    compute='_compute_search_criteria_completed'
  • valid Boolean
    compute='_compute_valid'
  • validated_work_entry_ids Many2many → hr.work.entry
    compute='_compute_validated_work_entry_ids' string='Work Entries Within Interval' args: 'hr.work.entry'
Public methods (1)
  • regenerate_work_entries(self)

New fields (1)
  • is_leave Boolean
    default=False help='Allow the work entry type to be linked with time off types.' string='Time Off'
Public methods (0)

No public methods.