Inhibit subcontracting flow on demand

mrp_subcontracting_inhibit
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/18.0/mrp_subcontracting_inhibit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Duy (Đỗ Anh)
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp_subcontracting
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - purchase
    - account
    - onboarding
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
If a product has a bill of materials (BoM) of subcontracting type, and
the vendor is included in the list of subcontractors of such BoM, when
doing a purchase order for such vendor and product, it will always
generate a subcontracting order. This module allows to inhibit such
behavior, acting as a regular purchase, as this may not be convenient in
some cases, as on manufacturing world, it's frequent that your vendor
sells you directly the same product without you providing any raw
material depending on lead times, material availability, etc. A check is
provided at purchase order line level for easily disable the
subcontracting part, as well as the same check at stock rule for
propagating the preference from replenishment option.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_supplierinfo_subcontractor_tree_view product.supplierinfo.subcontractor.tree.view product.supplierinfo field Inherits mrp_subcontracting.product_supplierinfo_subcontractor_tree_view
stock_location_route_form_view stock.location.route.form stock.route field Inherits stock.stock_location_route_form_view
view_order_form_inherit_purchase_order purchase.order.view.form.inherit purchase.order xpath Inherits purchase.purchase_order_form
Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • subcontracting_inhibit Boolean
    string='Subcontracting inhibited'
Public methods (0)

No public methods.

New fields (1)
  • subcontracting_inhibit Boolean
    string='Inhibit subcontracting'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • subcontracting_inhibit Boolean
    string='Inhibit subcontracting'
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/16.0/mrp_subcontracting_inhibit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, PauBForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp_subcontracting
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - purchase
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_supplierinfo_subcontractor_tree_view product.supplierinfo.subcontractor.tree.view product.supplierinfo field Inherits mrp_subcontracting.product_supplierinfo_subcontractor_tree_view
stock_location_route_form_view stock.location.route.form stock.route field Inherits stock.stock_location_route_form_view
view_order_form_inherit_purchase_order purchase.order.view.form.inherit purchase.order xpath Inherits purchase.purchase_order_form
Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • subcontracting_inhibit Boolean
    string='Subcontracting inhibited'
Public methods (0)

No public methods.

New fields (1)
  • subcontracting_inhibit Boolean
    string='Inhibit subcontracting'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • subcontracting_inhibit Boolean
    string='Inhibit subcontracting'
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/14.0/mrp_subcontracting_inhibit
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci, Christopher Ormaza
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp_subcontracting
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - purchase
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_supplierinfo_subcontractor_tree_view product.supplierinfo.subcontractor.tree.view product.supplierinfo field Inherits mrp_subcontracting.product_supplierinfo_subcontractor_tree_view
stock_location_route_form_view stock.location.route.form stock.location.route field Inherits stock.stock_location_route_form_view
view_order_form_inherit_purchase_order purchase.order.view.form.inherit purchase.order xpath Inherits purchase.purchase_order_form
Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • subcontracting_inhibit Boolean
    string='Subcontracting inhibited'
Public methods (0)

No public methods.

New fields (1)
  • subcontracting_inhibit Boolean
    string='Inhibit subcontracting'
Public methods (0)

No public methods.

New fields (1)
  • subcontracting_inhibit Boolean
    string='Inhibit subcontracting'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/manufacture
PULL REQUEST
PULL REQUEST[17.0][BKP]mrp_subcontracting_inhibit: backport from 18.0 (#1755)