Manufacturing · Article 05
Scrap and by-products
Applies to Odoo 19 · 20
In manufacturing, two kinds of output appear besides the main product: scrap (damaged components or products, written off from stock) and by-products (secondary products that can be sold or used, for example material offcuts). Odoo treats them differently: scrap goes to expenses, while the by-product enters stock and takes a share of the order cost.
When to use
- A component is damaged during manufacturing.
- Some of the finished products come out defective.
- The manufacturing process yields a usable secondary product.
- Material offcuts are kept in stock for other orders.
Before you start
- For by-products: By-Products is ticked in Manufacturing › Configuration › Settings.
- The by-product has its own product category, with the stock account (for example 346) and account 711.
Steps in Odoo
1. Add the by-product to the bill of materials
In Manufacturing › Products › Bills of Materials, open the bill and, in the By-products tab, add the product, the quantity and Cost Share (%): the percentage of the order cost that goes to the by-product.
2. Scrap during production
On the open manufacturing order, choose Scrap from the Actions menu (gear icon). Choose the component or product and the quantity, then validate.


3. Complete the order
Click the completion button. The by-product enters stock at its share of the cost, and the main product receives the rest.
Variants
Scrapping the finished product after completion
If the defect is found after the product has entered stock, scrap it from stock: see the Inventory chapter, article Scrap.
By-product without cost
If you leave Cost Share (%) at zero, the by-product enters stock without value (for FIFO or average cost), and the whole cost stays on the main product.
Common mistakes
- Component scrapped and consumed again. If you scrap a component, the order needs another one; check the consumed quantity in the Components tab.
- Cost share above 100%. The main product would be left with a negative cost. Keep the sum of percentages below 100%.
- Scrap without a write-off report. The expense may be non-deductible. Keep the document on file.
For the accountant: accounting entries
Component scrap of 50 lei, when the scrap is validated:
| DEBIT | CREDIT |
|---|---|
| 601 — 50 | 301 — 50 |
The expense account is that of the component's category.
By-product with a 10% cost share, on an order with a total cost of 600 lei, on completion:
| DEBIT | CREDIT |
|---|---|
| 345 — 540 | 711 — 540 |
| 346 — 60 | 711 — 60 |