Project Recalculate
project_recalculate · OCA/project
Health
65/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 59 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 5 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.74 MB
Module directory on disk
Code analysis
1 migration note
5 models
4 views
0 HTTP endpoints
Migration considerations
edit_project_recalculate— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_project_recalculate |
project.project | Inherits project.edit_project | ||
task_type_edit |
project.task.type | Inherits project.task_type_edit | ||
view_task_form2_inherited |
project.task | Inherits hr_timesheet.view_task_form2_inherited | ||
wizard_project_recalculate_form |
project.recalculate.wizard.form | project.recalculate.wizard | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
calculation_typeSelectiondefault=Falsehelp='How to calculate tasks, with date start or date end references. If not set, "Recalculate project" button is disabled.'string='Calculation type' args: [('date_begin', 'Date begin'), ('date_end', 'Date end')]
-
project_recalculate(self)Recalculate project tasks start and end dates. After that, recalculate new project start or end date
New fields (3)
-
calculation_typeSelectionreadonly=Truerelated='project_id.calculation_type'string='Calculation type' -
project_dateDatereadonly=True -
project_idMany2one → project.projectcomodel_name='project.project'readonly=Truestring='Project'
-
confirm_button(self) -
default_get(self, fields_list)@api.model
New fields (4)
-
date_startDatetimecopy=Falsedefault=fields.Datetime.nowindex=Truestring='Starting Date' -
estimated_daysIntegerdefault=1help='Estimated days to end'string='Estimated days' -
from_daysIntegerdefault=0help='Anticipation days from date begin or date end'string='From days' -
include_in_recalculateBooleanreadonly=Truerelated='stage_id.include_in_recalculate'
-
task_recalculate(self)Recalculate task start date and end date depending on project calculation_type, estimated_days and from_days. -
write(self, vals)
New fields (1)
-
include_in_recalculateBooleandefault=Truehelp="If you mark this check, tasks that are in this stage will be selectable for recalculating their dates when user click on 'Recalculate project' button."string='Include in project recalculate'
No public methods.
New fields (0)
No new fields.
Public methods (2)-
get_working_days_of_date(self, start_dt=None, end_dt=None, resource=None) -
plan_days_to_resource(self, days, day_dt, compute_leaves=False, resource=None, domain=None)
Loading…
Loading…
Loading…
Loading…