Production By-Product Cost Share
This module adds the field 'Cost Share' in by-products and its logic as it is in odoo v15 (added here https://github.com/odoo/odoo/commit/fd52760266ede3b9353936da8dc23e795f5a5031).
This field is the percentage of the final production cost for this by-product, so it will affect the final product cost.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Add a Cost Share (%) field on manufacturing by-products so you can decide what percentage of the production cost each by-product absorbs, and see the remaining cost on the finished product and in the BoM cost report.
This module lets you give each by-product of a bill of materials a percentage of the total production cost. You enter it in the new Cost Share (%) column on the by-products list of a bill of materials and on the by-products list of a manufacturing order.
Odoo then uses that percentage automatically: - When a manufacturing order is finished, the cost of the finished product is reduced by the total by-product share, and each by-product receives its share of the cost (for products using FIFO or average costing). - The standard price of a by-product can be updated from the bill of materials where it appears as a by-product. - The BoM cost report shows a By-Products section with quantities, unit costs and the cost assigned to each by-product, and the finished product unit cost is shown net of the by-product share.
Controls are added: a by-product cannot be the same product as the bill of materials product, cost shares must be positive, and the total of all by-product cost shares on a bill of materials or manufacturing order cannot exceed 100%.
The module also counts bills of materials where a product is used as a by-product in the product's BoM smart button, and the BoM button opens those bills too. It touches mrp.bom, mrp.bom.byproduct, mrp.production, stock.move, product.template, product.product and the BoM structure report.
Depends on
Models and fields (7)
- mrp.bom · extends an existing model
- stock.move · extends an existing modelcost_share (Cost Share (%))
- mrp.production · extends an existing model
- product.product · extends an existing model
- product.template · extends an existing model
- mrp.bom.byproduct · extends an existing modelcost_share (Cost Share (%))
- report.mrp.report_bom_structure · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/manufacture.
terminal Installation and usage
OCA documentation · Odoo 14.0Configuration
Source · Odoo 14.0You just have to set a 'Cost Share' value for each By-Product in the BOM form.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.