Timesheets - Day of Week
hr_timesheet_day_week · OCA/timesheet
Health
60/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 13 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis
1 migration note
2 models
3 views
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_analytic_line SET day_week = ( CASE DATE_PART('dow', date) WHEN 0 THEN 6 ELSE DATE_PART('dow', date) - 1 END)::character varying` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
For timesheets, enables search, group by the day of the week. This is useful when e.g. weekend timesheets needs to be located.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_timesheet_line_search |
account.analytic.line.search (in hr_timesheet_day_week) | account.analytic.line | search | Inherits hr_timesheet.hr_timesheet_line_search |
hr_timesheet_line_tree |
account.analytic.line.list.hr_timesheet (in hr_timesheet_day_week) | account.analytic.line | list | Inherits hr_timesheet.hr_timesheet_line_tree |
timesheets_analysis_report_list |
timesheets.analysis.report.list (in hr_timesheet_day_week) | timesheets.analysis.report | list | Inherits hr_timesheet.timesheets_analysis_report_list |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
day_weekSelectioncompute='_compute_week_day'store=Truestring='Day of Week' args: WEEKDAYS
No public methods.
New fields (1)
-
day_weekSelectionreadonly=Truestring='Day of Week' args: WEEKDAYS
No public methods.
Loading…
Loading…
Loading…