Field Service - Maintenance
fieldservice_maintenance · OCA/field-service
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `INSERT INTO maintenance_equipment ( name, maintenance_team_id, is_fsm_equipment, effective_date, active) VALUES ( %s, 1, True, %s, True);` - re-check the table/column names still match after upgrading. (2 occurrences in this file) migration-raw-sql-write · 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
Odoo Maintenance App does not support Field Service operations for equipments outside the company facilities. On the other hand, the Field Service App does not support a maintenance schedule generating preventive maintenance request.
This module allows you to merge equipments from Field Service and Maintenance and have a maintenance schedule for FSM equipments as well as Field Service capabilities for maintenance equipments.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fsm_equipment_form_view_maintenance |
fsm.equipment.form.maintenance | fsm.equipment | form | Inherits fieldservice.fsm_equipment_form_view |
fsm_equipment_list_view_model |
fsm.equipment.model | fsm.equipment | list | Inherits fieldservice.fsm_equipment_list_view |
fsm_order_maintenance_form |
fsm.order.maintenance.form | fsm.order | form | Inherits fieldservice.fsm_order_form |
hr_equipment_request_view_form_fsm |
equipment.request.form.fsm | maintenance.request | form | Inherits maintenance.hr_equipment_request_view_form |
hr_equipment_view_form |
equipment.form.fsm | maintenance.equipment | form | Inherits maintenance.hr_equipment_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
-
maintenance_equipment_idMany2one → maintenance.equipmentauto_join=Truedelegate=Trueindex=Trueondelete='restrict'required=Truestring='Related Maintenance Equipment' args: 'maintenance.equipment'
-
create(self, vals_list)@api.model_create_multi -
unlink(self)
-
request_idsOne2many → maintenance.requeststring='Maintenance Request' args: 'maintenance.request', 'fsm_order_id'
-
create(self, vals_list)@api.model_create_multi
-
internal_typeSelectionondelete={'maintenance': 'cascade'}selection_add=[('maintenance', 'Maintenance')]
No public methods.
-
is_fsm_equipmentBooleanstring='Is a FSM Equipment'
No public methods.
-
fsm_order_idMany2one → fsm.orderargs: 'fsm.order', 'Field Service Order'
-
create(self, vals_list)@api.model_create_multi
Loading…
Loading…
Loading…
Loading…
Loading…