Skip to content
Health
85/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 8 Odoo series since 12.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.08 MB
Module directory on disk
Code analysis 0 migration notes 4 models 13 views 0 HTTP endpoints

Description

This module extends the functionality of Odoo Maintenance module adding this features:

  • Adds a project to an equipment. You can link an existing project or create a new one (with the Create project button) after creating the equipment.
  • Adds project and task to a maintenance request. The default project for a request will be the equipment one, including the preventive requests periodically created.

This is is a technical addon to allow timesheet assignment to a maintenance request.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
maintenance_timesheet

Code analysis

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

Views touched 13

XML IDNameModelTypeStatus
edit_project project.project Inherits project.edit_project
hr_equipment_request_view_form maintenance.request form Inherits maintenance.hr_equipment_request_view_form
hr_equipment_request_view_kanban maintenance.request kanban Inherits maintenance.hr_equipment_request_view_kanban
hr_equipment_request_view_search maintenance.request search Inherits maintenance.hr_equipment_request_view_search
hr_equipment_request_view_tree maintenance.request tree Inherits maintenance.hr_equipment_request_view_tree
hr_equipment_view_form maintenance.equipment form Inherits maintenance.hr_equipment_view_form
hr_equipment_view_kanban maintenance.equipment kanban Inherits maintenance.hr_equipment_view_kanban
hr_equipment_view_search maintenance.equipment search Inherits maintenance.hr_equipment_view_search
hr_equipment_view_tree maintenance.equipment tree Inherits maintenance.hr_equipment_view_tree
project_milestone_form_view project.milestone form Inherits project.project_milestone_view_form
project_milestone_tree_view project.milestone tree Inherits project.project_milestone_view_tree
report_maintenance_request_document report_maintenance_request_document ir.ui.view qweb Inherits base_maintenance.report_maintenance_request_document
view_project_kanban project.project kanban Inherits project.view_project_kanban

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (2)
  • preventive_default_task_id Many2one → project.task
    comodel_name='project.task' string='Default Task'
  • project_id Many2one → project.project
    comodel_name='project.project' ondelete='restrict'
Public methods (1)
  • action_create_project(self)

New fields (3)
  • milestone_id Many2one → project.milestone
    comodel_name='project.milestone' compute='_compute_milestone_id' readonly=False store=True
  • project_id Many2one → project.project
    comodel_name='project.project'
  • task_id Many2one → project.task
    comodel_name='project.task'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    We ensure for appropiate project and task for new requests, specially the automatically generated ones
  • onchange_equipment_id(self)
    @api.onchange('equipment_id')

New fields (2)
  • maintenance_request_count Integer
    compute='_compute_maintenance_request_count' string='Maintenance Requests Count'
  • maintenance_request_ids One2many → maintenance.request
    comodel_name='maintenance.request' inverse_name='milestone_id' string='Maintenance Requests'
Public methods (1)
  • action_view_maintenance_request(self)

New fields (4)
  • equipment_count Integer
    compute='_compute_equipment_count'
  • equipment_ids One2many → maintenance.equipment
    string='Equipments' args: 'maintenance.equipment', 'project_id'
  • maintenance_request_count Integer
    compute='_compute_maintenance_request_count'
  • maintenance_request_ids One2many → maintenance.request
    string='Maintenance Requests' args: 'maintenance.request', 'project_id'
Public methods (2)
  • action_view_equipment_ids(self)
    Access to the current equipments for this project
  • action_view_maintenance_request_ids(self)
    Access to the undone maintenance requests for this project

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…