TIP: You can type at any time to perform a new search.
Project Recalculate
project_recalculate · OCA/project
- Repository
- OCA/project · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Project
- Folder size
- 0.74 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/project
- Last tracking update
- 2026-08-07 07:47:36
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Ernesto Tejeda, Weblate, OCA Transbot, OCA-git-bot, oca-travis, oca-ci
Code Analysis ⓘ
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…