| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/manufacture |
| GIT | |
| GIT | https://github.com/OCA/manufacture.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/manufacture/tree/18.0/mrp_bom_line_formula_quantity |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Manufacturing |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Aion Tech |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Aion Tech |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, bosd |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/manufacture/list/16.0/mrp_bom_line_formula_quantity |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:14 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - mrp - product - base - 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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 |
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.'
No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/manufacture |
| GIT | |
| GIT | https://github.com/OCA/manufacture.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/manufacture/tree/16.0/mrp_bom_line_formula_quantity |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Manufacturing |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Aion Tech |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Aion Tech |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, Simone Rubino, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/manufacture/tree/16.0/mrp_bom_line_formula_quantity |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:50 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - mrp - product - base - 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 |
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.'
No public methods.
No new fields.
Public methods (0)No public methods.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/manufacture |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] mrp_bom_line_formula_quantity: Migration to 19.0 (#1786) |