Maintenance Location

maintenance_location
REPOSITORY
REPOSITORYOCA/maintenance
GIT
GIThttps://github.com/OCA/maintenance.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/maintenance/tree/17.0/maintenance_location
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Dixmit, CreuBlanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Dixmit, CreuBlanca
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Bhavesh Heliconia, Carlos Garcia
WEBSITE
WEBSITEhttps://github.com/OCA/maintenance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/maintenance:
    - maintenance_plan
    - base_maintenance
odoo/odoo:
    - maintenance
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define a location system with hierarchy for maintenance equipments and
requests.

Code Analysis

Views touched (14)
XML IDNameModelTypeStatus
hr_equipment_request_view_form maintenance.request.form (in maintenance_location) maintenance.request xpath Inherits maintenance.hr_equipment_request_view_form
hr_equipment_request_view_kanban maintenance.request.kanban (in maintenance_location) maintenance.request xpath Inherits maintenance.hr_equipment_request_view_kanban
hr_equipment_request_view_search maintenance.request.search (in maintenance_location) maintenance.request field Inherits maintenance.hr_equipment_request_view_search
hr_equipment_request_view_tree maintenance.request.tree (in maintenance_location) maintenance.request field Inherits maintenance.hr_equipment_request_view_tree
hr_equipment_view_form maintenance.equipment.form (in maintenance_location) maintenance.equipment field Inherits maintenance_plan.hr_equipment_view_form
hr_equipment_view_kanban maintenance.equipment.tree (in maintenance_location) maintenance.equipment div Inherits maintenance.hr_equipment_view_kanban
hr_equipment_view_search maintenance.equipment.search (in maintenance_location) maintenance.equipment field Inherits maintenance.hr_equipment_view_search
hr_equipment_view_tree maintenance.equipment.tree (in maintenance_location) maintenance.equipment field Inherits maintenance.hr_equipment_view_tree
maintenance_location_form_view maintenance.location.form (in cb_maintenance) maintenance.location form New
maintenance_location_search_view maintenance.location.search (in cb_maintenance) maintenance.location search New
maintenance_location_tree_view maintenance.location.tree (in cb_maintenance) maintenance.location tree New
maintenance_plan_view_form maintenance.plan.form (in maintenance_location) maintenance.plan field Inherits maintenance_plan.maintenance_plan_view_form
maintenance_plan_view_search maintenance.plan.search (in maintenance_location) maintenance.plan field Inherits maintenance_plan.maintenance_plan_view_search
maintenance_plan_view_tree maintenance.plan.tree (in maintenance_location) maintenance.plan field Inherits maintenance_plan.maintenance_plan_view_tree
Models touched (4)

New fields (2)
  • location Char
    string='Location Old'
  • location_id Many2one → maintenance.location
    tracking=True args: 'maintenance.location'
Public methods (0)

No public methods.

New fields (14)
  • active Boolean
    default=True
  • child_equipment_ids Many2many → maintenance.equipment
    comodel_name='maintenance.equipment' compute='_compute_child_equipment_ids' string='Child Equipments'
  • child_id One2many → maintenance.location
    args: 'maintenance.location', 'parent_id', 'Child Locations'
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True
  • description Char
  • equipment_count Integer
    compute='_compute_equipment_count'
  • equipment_ids One2many → maintenance.equipment
    string='Equipments' args: 'maintenance.equipment', 'location_id'
  • latitude Float
    digits=(16, 5)
  • longitude Float
    digits=(16, 5)
  • name Char
    required=True
  • parent_id Many2one → maintenance.location
    index=True ondelete='cascade' args: 'maintenance.location', 'Parent Location'
  • parent_path Char
    index=True unaccent=False
  • partner_id Many2one → res.partner
    args: 'res.partner'
  • sequence Integer
    default=10
Public methods (0)

No public methods.

New fields (1)
  • location_id Many2one → maintenance.location
    args: 'maintenance.location'
Public methods (0)

No public methods.

New fields (1)
  • location_id Many2one → maintenance.location
    compute='_compute_equipment_id' readonly=False store=True args: 'maintenance.location'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/maintenance
GIT
GIThttps://github.com/OCA/maintenance.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/maintenance/tree/16.0/maintenance_location
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CreuBlanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CreuBlanca
COMMITTERS
COMMITTERSWeblate, oca-ci, Zina Rasoamanana, Laurent Stukkens
WEBSITE
WEBSITEhttps://github.com/OCA/maintenance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/maintenance:
    - maintenance_plan
    - base_maintenance
odoo/odoo:
    - maintenance
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (14)
XML IDNameModelTypeStatus
hr_equipment_request_view_form maintenance.request.form (in maintenance_location) maintenance.request xpath Inherits maintenance.hr_equipment_request_view_form
hr_equipment_request_view_kanban maintenance.request.kanban (in maintenance_location) maintenance.request xpath Inherits maintenance.hr_equipment_request_view_kanban
hr_equipment_request_view_search maintenance.request.search (in maintenance_location) maintenance.request field Inherits maintenance.hr_equipment_request_view_search
hr_equipment_request_view_tree maintenance.request.tree (in maintenance_location) maintenance.request field Inherits maintenance.hr_equipment_request_view_tree
hr_equipment_view_form maintenance.equipment.form (in maintenance_location) maintenance.equipment field Inherits maintenance_plan.hr_equipment_view_form
hr_equipment_view_kanban maintenance.equipment.tree (in maintenance_location) maintenance.equipment div Inherits maintenance.hr_equipment_view_kanban
hr_equipment_view_search maintenance.equipment.search (in maintenance_location) maintenance.equipment field Inherits maintenance.hr_equipment_view_search
hr_equipment_view_tree maintenance.equipment.tree (in maintenance_location) maintenance.equipment field Inherits maintenance.hr_equipment_view_tree
maintenance_location_form_view maintenance.location.form (in cb_maintenance) maintenance.location form New
maintenance_location_search_view maintenance.location.search (in cb_maintenance) maintenance.location search New
maintenance_location_tree_view maintenance.location.tree (in cb_maintenance) maintenance.location tree New
maintenance_plan_view_form maintenance.plan.form (in maintenance_location) maintenance.plan field Inherits maintenance_plan.maintenance_plan_view_form
maintenance_plan_view_search maintenance.plan.search (in maintenance_location) maintenance.plan field Inherits maintenance_plan.maintenance_plan_view_search
maintenance_plan_view_tree maintenance.plan.tree (in maintenance_location) maintenance.plan field Inherits maintenance_plan.maintenance_plan_view_tree
Models touched (4)

New fields (2)
  • location Char
    string='Location Old'
  • location_id Many2one → maintenance.location
    tracking=True args: 'maintenance.location'
Public methods (0)

No public methods.

New fields (11)
  • active Boolean
    default=True
  • child_id One2many → maintenance.location
    args: 'maintenance.location', 'parent_id', 'Child Locations'
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True
  • description Char
  • latitude Float
    digits=(16, 5)
  • longitude Float
    digits=(16, 5)
  • name Char
    required=True
  • parent_id Many2one → maintenance.location
    index=True ondelete='cascade' args: 'maintenance.location', 'Parent Location'
  • parent_path Char
    index=True unaccent=False
  • partner_id Many2one → res.partner
    args: 'res.partner'
  • sequence Integer
    default=10
Public methods (0)

No public methods.

New fields (1)
  • location_id Many2one → maintenance.location
    args: 'maintenance.location'
Public methods (0)

No public methods.

New fields (1)
  • location_id Many2one → maintenance.location
    compute='_compute_equipment_id' readonly=False store=True args: 'maintenance.location'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/maintenance
GIT
GIThttps://github.com/OCA/maintenance.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/maintenance/tree/14.0/maintenance_location
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CreuBlanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CreuBlanca
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/maintenance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/maintenance:
    - maintenance_plan
    - base_maintenance
odoo/odoo:
    - maintenance
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (14)
XML IDNameModelTypeStatus
hr_equipment_request_view_form maintenance.request.form (in maintenance_location) maintenance.request field Inherits maintenance.hr_equipment_request_view_form
hr_equipment_request_view_kanban maintenance.request.kanban (in maintenance_location) maintenance.request xpath Inherits maintenance.hr_equipment_request_view_kanban
hr_equipment_request_view_search maintenance.request.search (in maintenance_location) maintenance.request field Inherits maintenance.hr_equipment_request_view_search
hr_equipment_request_view_tree maintenance.request.tree (in maintenance_location) maintenance.request field Inherits maintenance.hr_equipment_request_view_tree
hr_equipment_view_form maintenance.equipment.form (in maintenance_location) maintenance.equipment field Inherits maintenance_plan.hr_equipment_view_form
hr_equipment_view_kanban maintenance.equipment.tree (in maintenance_location) maintenance.equipment div Inherits maintenance.hr_equipment_view_kanban
hr_equipment_view_search maintenance.equipment.search (in maintenance_location) maintenance.equipment field Inherits maintenance.hr_equipment_view_search
hr_equipment_view_tree maintenance.equipment.tree (in maintenance_location) maintenance.equipment field Inherits maintenance.hr_equipment_view_tree
maintenance_location_form_view maintenance.location.form (in cb_maintenance) maintenance.location form New
maintenance_location_search_view maintenance.location.search (in cb_maintenance) maintenance.location search New
maintenance_location_tree_view maintenance.location.tree (in cb_maintenance) maintenance.location tree New
maintenance_plan_view_form maintenance.plan.form (in maintenance_location) maintenance.plan field Inherits maintenance_plan.maintenance_plan_view_form
maintenance_plan_view_search maintenance.plan.search (in maintenance_location) maintenance.plan field Inherits maintenance_plan.maintenance_plan_view_search
maintenance_plan_view_tree maintenance.plan.tree (in maintenance_location) maintenance.plan field Inherits maintenance_plan.maintenance_plan_view_tree
Models touched (4)

New fields (2)
  • location Char
    string='Location Old'
  • location_id Many2one → maintenance.location
    tracking=True args: 'maintenance.location'
Public methods (0)

No public methods.

New fields (11)
  • active Boolean
    default=True
  • child_id One2many → maintenance.location
    args: 'maintenance.location', 'parent_id', 'Child Locations'
  • complete_name Char
    compute='_compute_complete_name' store=True args: 'Complete Name'
  • description Char
  • latitude Float
    digits=(16, 5)
  • longitude Float
    digits=(16, 5)
  • name Char
    required=True
  • parent_id Many2one → maintenance.location
    index=True ondelete='cascade' args: 'maintenance.location', 'Parent Location'
  • parent_path Char
    index=True
  • partner_id Many2one → res.partner
    args: 'res.partner'
  • sequence Integer
    default=10 string='Sequence'
Public methods (0)

No public methods.

New fields (1)
  • location_id Many2one → maintenance.location
    args: 'maintenance.location'
Public methods (0)

No public methods.

New fields (1)
  • location_id Many2one → maintenance.location
    args: 'maintenance.location'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/maintenance
PULL REQUEST
PULL REQUEST[18.0][MIG] maintenance_location: Migration to 18.0 (#523)