Maintenance Projects
maintenance_project · OCA/maintenance
Health
85/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 8 Odoo series since 12.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.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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 13
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → project.taskcomodel_name='project.task'string='Default Task' -
project_idMany2one → project.projectcomodel_name='project.project'ondelete='restrict'
-
action_create_project(self)
New fields (3)
-
milestone_idMany2one → project.milestonecomodel_name='project.milestone'compute='_compute_milestone_id'readonly=Falsestore=True -
project_idMany2one → project.projectcomodel_name='project.project' -
task_idMany2one → project.taskcomodel_name='project.task'
-
create(self, vals_list)@api.model_create_multiWe 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_countIntegercompute='_compute_maintenance_request_count'string='Maintenance Requests Count' -
maintenance_request_idsOne2many → maintenance.requestcomodel_name='maintenance.request'inverse_name='milestone_id'string='Maintenance Requests'
-
action_view_maintenance_request(self)
New fields (4)
-
equipment_countIntegercompute='_compute_equipment_count' -
equipment_idsOne2many → maintenance.equipmentstring='Equipments' args: 'maintenance.equipment', 'project_id' -
maintenance_request_countIntegercompute='_compute_maintenance_request_count' -
maintenance_request_idsOne2many → maintenance.requeststring='Maintenance Requests' args: 'maintenance.request', 'project_id'
-
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…