Skip to content
Health
65/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 59 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 5 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
event_project

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 4

XML IDNameModelTypeStatus
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_type Selection
    default=False help='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')]
Public methods (1)
  • project_recalculate(self)
    Recalculate project tasks start and end dates. After that, recalculate new project start or end date

New fields (3)
  • calculation_type Selection
    readonly=True related='project_id.calculation_type' string='Calculation type'
  • project_date Date
    readonly=True
  • project_id Many2one → project.project
    comodel_name='project.project' readonly=True string='Project'
Public methods (2)
  • confirm_button(self)
  • default_get(self, fields_list)
    @api.model

New fields (4)
  • date_start Datetime
    copy=False default=fields.Datetime.now index=True string='Starting Date'
  • estimated_days Integer
    default=1 help='Estimated days to end' string='Estimated days'
  • from_days Integer
    default=0 help='Anticipation days from date begin or date end' string='From days'
  • include_in_recalculate Boolean
    readonly=True related='stage_id.include_in_recalculate'
Public methods (2)
  • 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_recalculate Boolean
    default=True help="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'
Public methods (0)

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…