A production run yields a main product and residual material that can be reused or sold. Recording only the main product can leave useful stock invisible and make production cost harder to explain. The Odoo application records by-products on the bill of materials and links their quantities to a manufacturing order, as its publisher documents 1. The IFRS Foundation public IAS 2 overview 2 explains inventory cost components. Explore our Odoo application services, then agree with production and finance how to measure and value the output.
When is an output a by-product rather than scrap?
ask three questions about each residual from the line. Does it have a product code and unit of measure? Does it have a location and an owner? Does it have an approved path, such as sale, reuse, or disposal? Those records help you track a planned by-product. If they are missing, define the handling route first: the absence of a code or location does not by itself make material scrap. Separate output you intend to retain from material approved for disposal. The boundary is a policy agreed between operations and the accountant, and a side output is not always saleable.
What does the Odoo application record?
the documentation says that when by-products are specified on a BoM, the on-hand quantity is tracked. Enable it under Manufacturing ‣ Configuration ‣ Settings, By-Products checkbox under Operations, and a By-products tab appears on the BoM. Add a line, choose the product, enter the quantity, and optionally choose the operation in Produced in Operation. When the manufacturing order is completed with Produce All, inventory counts update. The Product Moves smart button shows From as the virtual production location and To as the storage location. The documentation example: ten wood pieces yield one rocking chair and five scrap pieces.
For operational context, see the Odoo Inventory application and the manufacturing sector page.
How is cost assigned?
the BoM has a by-product cost share expressed as a final-cost percentage, and applicable by-product shares total at most 100. The Odoo 19 branch we reviewed adds consumed move value, work-center cost, and extra cost. When the by-product’s cost method is FIFO or average, its cost is total cost × share ÷ 100 ÷ actual quantity. For other methods, such as standard price, its own standard cost is used. The main product under FIFO or average takes the remaining cost divided by its actual quantity.
Public IAS 2 overview: inventory cost includes purchase, conversion (direct labour and production overhead), and other costs of bringing inventory to its present location and condition. Inventory is measured at the lower of cost and net realisable value, meaning selling price less completion and necessary selling costs. A 10% share is not an IAS 2 rule. Code in later Odoo 19 updates may change, so test the version you choose.
Worked example (hypothetical)
A hypothetical management allocation, not a client case, price quote, or IFRS-approved split. Assume production cost components of 8,000 SAR and operations of 2,000 SAR, so the total of 10,000 SAR is already complete. Do not add the operation charge again. Management agreed a 10% by-product share.
| Item | Plan | Actual |
|---|---|---|
| Total cost | 10,000 SAR | 10,000 SAR |
| By-product share | 10% = 1,000 SAR | 1,000 SAR |
| By-product quantity | 50 kg | 40 kg |
| Cost per kg | 20 SAR | 25 SAR |
| Main share | 90% = 9,000 SAR | 9,000 SAR |
| Main quantity | 100 units | 100 units |
| Cost per unit | 90 SAR | 90 SAR |
We do not add 100 units to 50 kg because the units differ, and no physical mass balance is claimed. Allocating cost creates no cash, revenue, or verified saving.
When the actual quantity differs
In the example, if the share stays at 1,000 SAR and the actual quantity falls to 40 kg, with input cost and main quantity unchanged, cost per kg rises to 25 SAR. do not change one field and trust the result. Run a test manufacturing order with a different actual quantity and review the resulting inventory valuation. Under standard price, cost per kg may not move as the table shows, because the code uses the product’s own price. Revising the share after repeated variances is a finance decision.
Practical implementation scope
start with one BoM, then extend.
- Fix the by-product’s unit of measure and conversions, such as kilograms versus bags.
- Prepare a named receiving location, a quarantine location for inspection before acceptance where needed, and a path for returned or rejected material.
- Write down who measures the quantity, who approves the share, and who owns the disposal decision.
- Keep three layers separate: quantity tracking, cost valuation, and sale. Tracking is not value, and value is not a selling price.
To size the project, use the scoping calculator as a project-scoping tool only, not evidence of savings. The demo is a general sales and inventory interface and does not demonstrate this advanced by-product feature. For the accounting side, see the Odoo Finance application.
Acceptance checks
- The By-products tab appears on the chosen BoM after the setting is enabled.
- A test manufacturing order finishes with Produce All, and both main and by-product quantities change.
- In Product Moves, the by-product moves from the virtual production location to the designated location.
- Each move carries the manufacturing order reference, and the measured quantity matches what was recorded.
- Shares total no more than 100, and the figures match the approved manual calculation.
- A lower-quantity test shows the cost per kg expected for the selected cost method.
- Quarantine, rejection, and return cases follow a documented path.
- The accountant signs off on the policy before margin figures are used.
Frequently asked questions
Can I add kilograms to units in a production report?
No. The units differ, so show each quantity in its own unit and compare cost per unit of measure.
Is a 10% share required by IAS 2?
No. It is a hypothetical figure in our example. The public overview does not set this share, and the applicable policy is agreed between the accountant and management.
Is quantity tracking enough to calculate margin?
No. You also need an approved cost valuation, then a selling price or realisable value assessed by the accountant. A by-product should not be assumed saleable.
Conclusion
Treat a by-product as a complete record: location, quantity, manufacturing order reference, and an approved financial share. Then test plan versus actual before building margin analysis. Return to the home page for more, size the work with the scoping calculator, and contact us to discuss your case.
Source notes
- [1] Odoo application documentation on By-Products and bills of materials: setting, BoM tab, manufacturing order, and product moves. The cost_share and _cal_price points rely on review of the Odoo 19 branch source code, which may change later. The attributed summary is short; the analysis and recommendations are original.
- [2] IFRS Foundation public page on IAS 2 Inventories: only the public overview was used (cost components, lower of cost and net realisable value), with no claim of reading the full standard or its joint-product paragraphs.
- The example figures are hypothetical. The applicable accounting policy is decided by the accountant.
