TIP: You can type at any time to perform a new search.
HR Worked Days From Timesheet
hr_worked_days_from_timesheet · OCA/hr
Security findings
Migration considerations
view_hr_payslip_form— For a target of Odoo 17.0+: view 'view_hr_payslip_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/hr · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Generic Modules/Human Resources
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/hr
- Last tracking update
- 2026-08-07 07:57:09
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA), Acysos S.L., Serpent Consulting Services Pvt. Ltd., ForgeFlow
- Maintainers
- Savoir-faire Linux, Odoo Community Association (OCA), Acysos S.L., Serpent Consulting Services Pvt. Ltd., ForgeFlow
- Committers
- Weblate, OCA-git-bot, oca-ci, Juany Davila
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_hr_payslip_form |
hr.payslip.form | hr.payslip | form | Inherits payroll.hr_payslip_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (3)-
get_timesheets_from_employee(self, employee, date_from, date_to)@api.model -
import_worked_days(self)This method retrieves the employee's timesheet for a payslip period and creates worked days records from the imported timesheet -
prepare_worked_days(self, payslip, ts_sheet, date_from, date_to)@api.model
New fields (2)
-
imported_from_timesheetBooleandefault=False -
timesheet_sheet_idMany2one → hr_timesheet.sheetcomodel_name='hr_timesheet.sheet'string='Timesheet'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…