MRP BoM Line formula for quantity

mrp_bom_line_formula_quantity
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/18.0/mrp_bom_line_formula_quantity
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Aion Tech
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Aion Tech
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, bosd
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture/list/16.0/mrp_bom_line_formula_quantity
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - 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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Compute the quantity of a Production Line using a formula defined in the
BoM Line.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
mrp_bom_form_view Add compute quantity fields to BoM form view mrp.bom xpath Inherits mrp.mrp_bom_form_view
mrp_bom_line_view_form Add compute quantity fields to BoM Line form view mrp.bom.line xpath Inherits mrp.mrp_bom_line_view_form
Models touched (2)

New fields (1)
  • quantity_formula Text
    help='Formula to be evaluated when generating the quantity for a production order line.\nThe following values are available:\n- bom_line: the current BoM line,\n- operation: the operation where the components areconsumed for current BoM line,\n- product: the Product of current BoM line,\n- product_uom: the UoM of the Product of current BoM line,\n- product_uom_qty: the quantity of the production order line,\n- production: the production order being created,\nThe computed quantity must be assigned to the `quantity` variable.'
Public methods (0)

No public methods.

New fields (0)

No new fields.

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_bom_line_formula_quantity
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Aion Tech
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Aion Tech
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Simone Rubino, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture/tree/16.0/mrp_bom_line_formula_quantity
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - 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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
mrp_bom_form_view Add compute quantity fields to BoM form view mrp.bom xpath Inherits mrp.mrp_bom_form_view
mrp_bom_line_view_form Add compute quantity fields to BoM Line form view mrp.bom.line xpath Inherits mrp.mrp_bom_line_view_form
Models touched (2)

New fields (1)
  • quantity_formula Text
    help='Formula to be evaluated when generating the quantity for a production order line.\nThe following values are available:\n- bom_line: the current BoM line,\n- operation: the operation where the components are consumed for current BoM line,\n- product: the Product of current BoM line,\n- product_uom: the UoM of the Product of current BoM line,\n- product_uom_qty: the quantity of the production order line,\n- production: the production order being created,\nThe computed quantity must be assigned to the `quantity` variable.'
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[19.0][MIG] mrp_bom_line_formula_quantity: Migration to 19.0 (#1786)