Maintenance Stock

maintenance_stock
REPOSITORY
REPOSITORYOCA/maintenance
GIT
GIThttps://github.com/OCA/maintenance.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/maintenance/tree/18.0/maintenance_stock
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Solvos
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Solvos
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Dimitrios T. Tanis, oca-ci, AlexGarS73
WEBSITE
WEBSITEhttps://github.com/OCA/maintenance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/maintenance:
    - base_maintenance
odoo/odoo:
    - maintenance
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - stock
    - product
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of Odoo Maintenance module by
allowing link stock consumptions to maintenance requests.

Code Analysis

Views touched (15)
XML IDNameModelTypeStatus
equipment_request_view_form maintenance.request xpath Inherits base_maintenance.equipment_request_view_form
hr_equipment_request_view_search maintenance.request xpath Inherits maintenance.hr_equipment_request_view_search
hr_equipment_request_view_tree maintenance.request xpath Inherits maintenance.hr_equipment_request_view_tree
hr_equipment_view_form maintenance.equipment xpath Inherits maintenance.hr_equipment_view_form
hr_equipment_view_search maintenance.equipment xpath Inherits maintenance.hr_equipment_view_search
hr_equipment_view_tree maintenance.equipment xpath Inherits maintenance.hr_equipment_view_tree
stock_move_line_view_search stock.move.line xpath Inherits stock.stock_move_line_view_search
view_move_form stock.move xpath Inherits stock.view_move_form
view_move_line_form stock.move.line field Inherits stock.view_move_line_form
view_move_line_tree stock.move.line field Inherits stock.view_move_line_tree
view_move_search stock.move xpath Inherits stock.view_move_search
view_move_tree stock.move field Inherits stock.view_move_tree
view_picking_form stock.picking xpath Inherits stock.view_picking_form
view_picking_internal_search stock.picking xpath Inherits stock.view_picking_internal_search
vpicktree stock.picking field Inherits stock.vpicktree
Models touched (6)

New fields (2)
  • allow_consumptions Boolean
    groups='stock.group_stock_user'
  • default_consumption_warehouse_id Many2one → stock.warehouse
    comodel_name='stock.warehouse' groups='stock.group_stock_user' string='Default Consumption Warehouse'
Public methods (3)
  • action_view_stock_move_ids(self)
  • action_view_stock_move_line_ids(self)
  • action_view_stock_picking_ids(self)

New fields (3)
  • allow_consumptions Boolean
    groups='stock.group_stock_user' related='equipment_id.allow_consumptions' store=True
  • default_consumption_warehouse_id Many2one
    groups='stock.group_stock_user' related='equipment_id.default_consumption_warehouse_id'
  • stock_picking_ids One2many → stock.picking
    comodel_name='stock.picking' groups='stock.group_stock_user' inverse_name='maintenance_request_id' string='Picking list'
Public methods (3)
  • action_view_stock_move_ids(self)
  • action_view_stock_move_line_ids(self)
  • action_view_stock_picking_ids(self)

New fields (2)
  • maintenance_equipment_id Many2one → maintenance.equipment
    comodel_name='maintenance.equipment' related='picking_id.maintenance_equipment_id'
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' related='picking_id.maintenance_request_id'
Public methods (0)

No public methods.

New fields (2)
  • maintenance_equipment_id Many2one → maintenance.equipment
    comodel_name='maintenance.equipment' related='picking_id.maintenance_equipment_id'
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' related='picking_id.maintenance_request_id'
Public methods (0)

No public methods.

New fields (2)
  • maintenance_equipment_id Many2one → maintenance.equipment
    comodel_name='maintenance.equipment' related='maintenance_request_id.equipment_id' store=True
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' index=True
Public methods (0)

No public methods.

New fields (2)
  • cons_type_id Many2one → stock.picking.type
    args: 'stock.picking.type', 'Consumption Type'
  • wh_cons_loc_id Many2one → stock.location
    domain=[('usage', '=', 'inventory')] args: 'stock.location', 'Consumption 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/13.0/maintenance_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Solvos
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Solvos
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Manuel Marquez
WEBSITE
WEBSITEhttps://github.com/OCA/maintenance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/maintenance:
    - base_maintenance
odoo/odoo:
    - maintenance
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - stock
    - product
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (15)
XML IDNameModelTypeStatus
equipment_request_view_form maintenance.request xpath Inherits base_maintenance.equipment_request_view_form
hr_equipment_request_view_search maintenance.request xpath Inherits maintenance.hr_equipment_request_view_search
hr_equipment_request_view_tree maintenance.request xpath Inherits maintenance.hr_equipment_request_view_tree
hr_equipment_view_form maintenance.equipment xpath Inherits maintenance.hr_equipment_view_form
hr_equipment_view_search maintenance.equipment xpath Inherits maintenance.hr_equipment_view_search
hr_equipment_view_tree maintenance.equipment xpath Inherits maintenance.hr_equipment_view_tree
stock_move_line_view_search stock.move.line xpath Inherits stock.stock_move_line_view_search
view_move_form stock.move xpath Inherits stock.view_move_form
view_move_line_form stock.move.line field Inherits stock.view_move_line_form
view_move_line_tree stock.move.line field Inherits stock.view_move_line_tree
view_move_search stock.move xpath Inherits stock.view_move_search
view_move_tree stock.move field Inherits stock.view_move_tree
view_picking_form stock.picking xpath Inherits stock.view_picking_form
view_picking_internal_search stock.picking xpath Inherits stock.view_picking_internal_search
vpicktree stock.picking field Inherits stock.vpicktree
Models touched (6)

New fields (3)
  • allow_consumptions Boolean
    groups='stock.group_stock_user'
  • default_consumption_warehouse_id Many2one → stock.warehouse
    comodel_name='stock.warehouse' groups='stock.group_stock_user' string='Default Consumption Warehouse'
  • stock_picking_ids One2many → stock.picking
    comodel_name='stock.picking' groups='stock.group_stock_user' inverse_name='maintenance_equipment_id'
Public methods (3)
  • action_view_stock_move_ids(self)
  • action_view_stock_move_line_ids(self)
  • action_view_stock_picking_ids(self)

New fields (3)
  • allow_consumptions Boolean
    groups='stock.group_stock_user' related='equipment_id.allow_consumptions' store=True
  • default_consumption_warehouse_id Many2one
    groups='stock.group_stock_user' related='equipment_id.default_consumption_warehouse_id'
  • stock_picking_ids One2many → stock.picking
    comodel_name='stock.picking' groups='stock.group_stock_user' inverse_name='maintenance_request_id' string='Picking list'
Public methods (3)
  • action_view_stock_move_ids(self)
  • action_view_stock_move_line_ids(self)
  • action_view_stock_picking_ids(self)

New fields (2)
  • maintenance_equipment_id Many2one → maintenance.equipment
    comodel_name='maintenance.equipment' related='picking_id.maintenance_equipment_id'
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' related='picking_id.maintenance_request_id'
Public methods (0)

No public methods.

New fields (2)
  • maintenance_equipment_id Many2one → maintenance.equipment
    comodel_name='maintenance.equipment' related='picking_id.maintenance_equipment_id'
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' related='picking_id.maintenance_request_id'
Public methods (0)

No public methods.

New fields (2)
  • maintenance_equipment_id Many2one → maintenance.equipment
    comodel_name='maintenance.equipment' related='maintenance_request_id.equipment_id' store=True
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' index=True
Public methods (0)

No public methods.

New fields (2)
  • cons_type_id Many2one → stock.picking.type
    args: 'stock.picking.type', 'Consumption Type'
  • wh_cons_loc_id Many2one → stock.location
    domain=[('usage', '=', 'inventory')] args: 'stock.location', 'Consumption 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/12.0/maintenance_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Solvos
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Solvos
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, David Alonso (Solvos)
WEBSITE
WEBSITEhttps://github.com/OCA/maintenance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/maintenance:
    - base_maintenance
odoo/odoo:
    - maintenance
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - stock
    - product
    - decimal_precision
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (15)
XML IDNameModelTypeStatus
equipment_request_view_form maintenance.request xpath Inherits base_maintenance.equipment_request_view_form
hr_equipment_request_view_search maintenance.request xpath Inherits maintenance.hr_equipment_request_view_search
hr_equipment_request_view_tree maintenance.request xpath Inherits maintenance.hr_equipment_request_view_tree
hr_equipment_view_form maintenance.equipment xpath Inherits maintenance.hr_equipment_view_form
hr_equipment_view_search maintenance.equipment xpath Inherits maintenance.hr_equipment_view_search
hr_equipment_view_tree maintenance.equipment xpath Inherits maintenance.hr_equipment_view_tree
stock_move_line_view_search stock.move.line xpath Inherits stock.stock_move_line_view_search
view_move_form stock.move xpath Inherits stock.view_move_form
view_move_line_form stock.move.line field Inherits stock.view_move_line_form
view_move_line_tree stock.move.line field Inherits stock.view_move_line_tree
view_move_search stock.move xpath Inherits stock.view_move_search
view_move_tree stock.move field Inherits stock.view_move_tree
view_picking_form stock.picking xpath Inherits stock.view_picking_form
view_picking_internal_search stock.picking xpath Inherits stock.view_picking_internal_search
vpicktree stock.picking field Inherits stock.vpicktree
Models touched (6)

New fields (3)
  • allow_consumptions Boolean
    groups='stock.group_stock_user'
  • default_consumption_warehouse_id Many2one → stock.warehouse
    comodel_name='stock.warehouse' groups='stock.group_stock_user' string='Default Consumption Warehouse'
  • stock_picking_ids One2many → stock.picking
    comodel_name='stock.picking' groups='stock.group_stock_user' inverse_name='maintenance_equipment_id'
Public methods (3)
  • action_view_stock_move_ids(self)
  • action_view_stock_move_line_ids(self)
  • action_view_stock_picking_ids(self)

New fields (3)
  • allow_consumptions Boolean
    groups='stock.group_stock_user' related='equipment_id.allow_consumptions' store=True
  • default_consumption_warehouse_id Many2one
    groups='stock.group_stock_user' related='equipment_id.default_consumption_warehouse_id'
  • stock_picking_ids One2many → stock.picking
    comodel_name='stock.picking' groups='stock.group_stock_user' inverse_name='maintenance_request_id' string='Picking list'
Public methods (3)
  • action_view_stock_move_ids(self)
  • action_view_stock_move_line_ids(self)
  • action_view_stock_picking_ids(self)

New fields (2)
  • maintenance_equipment_id Many2one → maintenance.equipment
    comodel_name='maintenance.equipment' related='picking_id.maintenance_equipment_id'
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' related='picking_id.maintenance_request_id'
Public methods (0)

No public methods.

New fields (2)
  • maintenance_equipment_id Many2one → maintenance.equipment
    comodel_name='maintenance.equipment' related='picking_id.maintenance_equipment_id'
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' related='picking_id.maintenance_request_id'
Public methods (0)

No public methods.

New fields (2)
  • maintenance_equipment_id Many2one → maintenance.equipment
    comodel_name='maintenance.equipment' related='maintenance_request_id.equipment_id'
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' index=True
Public methods (0)

No public methods.

New fields (2)
  • cons_type_id Many2one → stock.picking.type
    args: 'stock.picking.type', 'Consumption Type'
  • wh_cons_loc_id Many2one → stock.location
    domain=[('usage', '=', 'inventory')] args: 'stock.location', 'Consumption Location'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/maintenance
PULL REQUEST
PULL REQUEST[14.0][MIG] maintenance_stock: Migration to 14.0 (#347)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/maintenance
PULL REQUEST
PULL REQUEST[19.0][MIG] maintenance_stock (#567)