TIP: You can type at any time to perform a new search.
Work Entries - Contract
hr_work_entry_contract · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 0.1.0
- Category
- Human Resources/Employees
- Folder size
- 0.77 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-08 22:28:52
- Authors
- Maintainers
- None
- Committers
- Raphael Collet, Christophe Simonis, Odoo Translation Bot, Yannick Tivisse, Odoo Online, Tiffany Chang (tic), Gorash, Abdelouahab (abla), Vincent Larcin, Louis Wicket (wil), alsh-odoo, Yash Vaishnav, Victor Piryns (pivi), Chong Wang (cwg), Simon Goffaux (sigo), bary, Louis (wil), mano-odoo, Mathieu Coutant, Chris Duvivier, “Your, kareem, oumaima-aarabe, Arthur Pierrot, Jurgen Gjini
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_contract_view_form_inherit_work_entry |
hr.contract.view.form.inherit.work.entry | hr.contract | form | 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 | form | 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 | calendar | 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 | form | 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 |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (6)
New fields (5)
-
date_generated_fromDatetimecopy=Falsedefault=<expr>readonly=Truerequired=Truestring='Generated From' -
date_generated_toDatetimecopy=Falsedefault=<expr>readonly=Truerequired=Truestring='Generated To' -
last_generation_dateDatereadonly=Truestring='Last Generation Date' -
work_entry_sourceSelectiondefault='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_invalidBooleancompute='_compute_work_entry_source_calendar_invalid'
-
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_idMany2one → hr.contractrequired=Truestring='Contract' args: 'hr.contract' -
employee_idMany2onedomain=[('contract_ids.state', 'in', ('open', 'pending'))] -
work_entry_sourceSelectionrelated='contract_id.work_entry_source'
-
create(self, vals_list)@api.model_create_multi -
init(self)
New fields (10)
-
date_fromDatedefault=<expr>required=True args: 'From' -
date_toDatecompute='_compute_date_to'default=<expr>readonly=Falserequired=Truestore=True args: 'To' -
earliest_available_dateDatecompute='_compute_earliest_available_date' args: 'Earliest date' -
earliest_available_date_messageChardefault=''readonly=Truestore=False -
employee_idsMany2many → hr.employeedomain=<expr>required=Truestring='Employees' args: 'hr.employee' -
latest_available_dateDatecompute='_compute_latest_available_date' args: 'Latest date' -
latest_available_date_messageChardefault=''readonly=Truestore=False -
search_criteria_completedBooleancompute='_compute_search_criteria_completed' -
validBooleancompute='_compute_valid' -
validated_work_entry_idsMany2many → hr.work.entrycompute='_compute_validated_work_entry_ids'string='Work Entries Within Interval' args: 'hr.work.entry'
-
regenerate_work_entries(self)
New fields (1)
-
is_leaveBooleandefault=Falsehelp='Allow the work entry type to be linked with time off types.'string='Time Off'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…