MRP MTO with Stock

mrp_mto_with_stock
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/12.0/mrp_mto_with_stock
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, John Walsh
MAINTAINERS
MAINTAINERSsergiocorato
COMMITTERS
COMMITTERSHolger Brunn, oca-travis, Weblate, OCA-git-bot, sergiocorato
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-warehouse:
    - stock_available_unreserved
odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - mrp
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_template_property_form product.template.form - mrp_mto_with_stock extension product.template group Inherits stock.view_template_property_form
view_warehouse_mrp_with_stock stock.warehouse field Inherits mrp.view_warehouse_inherit_mrp
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • action_assign(self)
    @api.multi
    Reserves available products to the production order but also creates procurements for more items if we cannot reserve enough (MTO with stock). @returns True
  • get_mto_qty_to_procure(self, move)
    @api.multi
  • run_procurement(self, move, qty, mto_with_no_move_dest_id)
    @api.multi

New fields (1)
  • mrp_mts_mto_location_ids Many2many → stock.location
    comodel_name='stock.location' help='These manufacturing locations will create procurements when there is no stock availale in the source location.' string='Manufacturing MTO/MTS Locations'
Public methods (0)

No public methods.

New fields (1)
  • mrp_mto_mts_forecast_qty Boolean
    help="When you use Mrp_mto_with_stock, the procurement creation is based on reservable stock by default. Check this option if you prefer base it on the forecast stock. In this case, the created procurements won't be linked to the raw material moves" string='MRP MTO with forecast stock'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/11.0/mrp_mto_with_stock
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, John Walsh
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, John Walsh
COMMITTERS
COMMITTERSmreficent, Lois Rilo, Bhavesh Odedra, Jordi Ballester Alomar, OCA Transbot, Florian da Costa, oca-travis, Weblate
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-warehouse:
    - stock_available_unreserved
odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - mrp
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_template_property_form product.template.form - mrp_mto_with_stock extension product.template group Inherits stock.view_template_property_form
view_warehouse_mrp_with_stock stock.warehouse field Inherits mrp.view_warehouse_inherited
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • action_assign(self)
    @api.multi
    Reserves available products to the production order but also creates procurements for more items if we cannot reserve enough (MTO with stock). @returns True
  • get_mto_qty_to_procure(self, move)
    @api.multi
  • run_procurement(self, move, qty, mto_with_no_move_dest_id)
    @api.multi

New fields (1)
  • mrp_mts_mto_location_ids Many2many → stock.location
    comodel_name='stock.location' help='These manufacturing locations will create procurements when there is no stock availale in the source location.' string='Manufacturing MTO/MTS Locations'
Public methods (0)

No public methods.

New fields (1)
  • mrp_mto_mts_forecast_qty Boolean
    help="When you use Mrp_mto_with_stock, the procurement creation is based on reservable stock by default. Check this option if you prefer base it on the forecast stock. In this case, the created procurements won't be linked to the raw material moves" string='MRP MTO with forecast stock'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/10.0/mrp_mto_with_stock
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, John Walsh
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, John Walsh
COMMITTERS
COMMITTERSLois Rilo, OCA Transbot, Florian da Costa, oca-travis, Weblate, OCA-git-bot, Isaac Gallart Bochons
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - stock
    - procurement
    - barcodes
    - web_planner
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_template_property_form product.template.form - mrp_mto_with_stock extension product.template field Inherits stock.view_template_property_form
view_warehouse_mrp_with_stock stock.warehouse field Inherits mrp.view_warehouse_inherited
Models touched (3)

New fields (0)

No new fields.

Public methods (2)
  • action_assign(self)
    @api.multi
    Reserves available products to the production order but also creates procurements for more items if we cannot reserve enough (MTO with stock). @returns True
  • get_mto_qty_to_procure(self, move)
    @api.multi

New fields (1)
  • mrp_mts_mto_location_ids Many2many → stock.location
    comodel_name='stock.location' help='These manufacturing locations will create procurements when there is no stock availale in the source location.' string='Manufacturing MTO/MTS Locations'
Public methods (0)

No public methods.

New fields (1)
  • mrp_mto_mts_forecast_qty Boolean
    help="When you use Mrp_mto_with_stock, the procurement creation is based on reservable stock by default. Check this option if you prefer base it on the forecast stock. In this case, the created procurements won't be linked to the raw material moves" string='MRP MTO with forecast stock'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/9.0/mrp_mto_with_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, John Walsh
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, John Walsh
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, lreficent
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - stock_account
    - stock
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_template_property_form product.template.form - mrp_mto_with_stock extension product.template field Inherits stock.view_template_property_form
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • action_assign(self)
    @api.multi
    Reserves available products to the production order but also creates procurements for more items if we cannot reserve enough (MTO with stock). @returns list of ids
  • action_mass_assign(self)
    @api.multi

New fields (1)
  • mrp_mts_mto_location_ids Many2many → stock.location
    comodel_name='stock.location' help='These manufacturing locations will create procurements when there is no stock availale in the source location.' string='Manufacturing MTO/MTS Locations'
Public methods (0)

No public methods.