Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.0
Category
Manufacturing
Folder size
0.39 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture/list/16.0/mrp_bom_line_formula_quantity
Last tracking update
2026-08-07 08:42:53
Authors
Odoo Community Association (OCA), Aion Tech
Maintainers
Odoo Community Association (OCA), Aion Tech
Committers
Weblate, OCA-git-bot, oca-ci, bosd
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits mrp.mrp_bom_form_view
mrp_bom_line_view_form Add compute quantity fields to BoM Line form view mrp.bom.line form Inherits mrp.mrp_bom_line_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
98 days ago
Last activity
2 days ago
Repository
OCA/manufacture
Pull request
[19.0][MIG] mrp_bom_line_formula_quantity: Migration to 19.0 (#1786)