Technical Lab · 0037

Odoo for Spinning Mills Bangladesh — yarn stock, loom routing, grey fabric QC.

Bangladesh's spinning and weaving sector produces billions of metres of yarn and fabric annually for the domestic RMG industry and for direct export. Yarn inventory management — by count, composition, and grade — and loom production routing are the core ERP challenges. This guide covers how to configure Odoo for the full spinning-to-fabric workflow.

Spinning and weaving mills present a specific ERP configuration challenge: the raw material (cotton fibre), intermediate products (sliver, roving, yarn), and finished products (grey fabric, finished fabric) are all measured in different units, and the production yield at each stage is never exactly 100%. Processing waste (noil, fibre loss, yarn breakage, loom waste) means that 1,000 kg of cotton fibre does not produce 1,000 kg of yarn, and 1,000 kg of yarn does not produce 1,000 metres of grey fabric at the expected weight.

ERP that tracks quantities without tracking yields is a liability in textile manufacturing. It gives you numbers that slowly drift from physical reality — until the annual physical stock count reveals that the system says you have 45,000 kg of 30s count yarn and the warehouse has 38,000 kg. Odoo handles this correctly when configured with accurate BOM yield percentages and consistent production quantity recording. This guide shows you how.

For the manufacturing module foundation, see the Odoo manufacturing module setup guide for Bangladesh factories. For inventory valuation methods that apply to yarn stock, see the Odoo inventory valuation cheatsheet.

In a textile mill, the gap between theoretical yield and actual yield is not a rounding error — it is the difference between a profitable mill and a loss-making one. ERP must measure it precisely.

Spinning mill ERP challenges

Yarn inventory setup in Odoo

Product master setup for yarn:

Configuration Setting Why
Product template name "100% Carded Cotton Yarn" (one template per composition) Group all counts of the same composition under one template using variants
Product variant attribute Count: 10s, 16s, 20s, 24s, 30s, 40s Each count is a separate variant but managed under one product template
Unit of measure Kg (for internal production), Cone (for sales to garment factories) Internal production is weight-based; customers buy by cone — set up both UoMs with conversion factor
Tracking By Lot (for traceable production batches) Lot = production batch. Enables cotton → yarn → fabric traceability and quality recall if count deviation found post-shipment
Costing method Average Cost (AVCO) Yarn cost varies by cotton quality season, energy costs, and count. AVCO smooths cost across production runs. FIFO for export if lot-specific cost is needed.
Route Manufacture (for internally produced yarn) Production orders are generated from manufacturing demand. Reordering rules trigger when yarn stock drops below the minimum for each count.

Set up separate product templates for each composition family:

BOM for yarn production

The spinning BOM takes cotton fibre (or cotton + polyester for blended yarn) and produces yarn at the relevant count. The critical configuration is the yield factor — the ratio of output (yarn) to input (fibre). A typical BOM for 1 kg of 30s carded cotton yarn:

Component UoM Qty per 1 kg yarn Notes
Cotton Fibre — Shankar-6 (31mm staple) Kg 1.095 9.5% waste — blowroom + carding + drafting loss combined
Cone (plastic, 150g) Pcs 0.5 1 cone holds ~2 kg of 30s yarn (2 kg/cone = 0.5 cones/kg)
Carton (12 cone) Pcs 0.042 1 carton / 24 kg (12 cones × 2 kg) = 0.042 cartons per kg
Packing material (wrapper, tape) Set 0.042 One set per carton

For combed yarn, add a separate line for comber noil (waste that is sold separately as a by-product). In Odoo, comber noil can be configured as a by-product in the BOM (Manufacturing → Configuration → Settings → enable "By-Products"). The by-product line specifies that 0.12 kg of comber noil is produced for every 1 kg of combed yarn. Noil is received into stock (as a low-value by-product) and sold to papermaking and wadding industries.

For blended yarn (PC or CVC), the BOM has two fibre inputs:

Loom routing configuration for weaving mills

For weaving mills (or spinning mills with integrated weaving), configure the manufacturing routing in Odoo Manufacturing → Configuration → Routings. Create one routing per fabric construction type:

Beam Preparation (Warping)
Warp yarns wound onto a beam at the specified warp count and width. The beam preparation machine (direct warper or sectional warper) is configured as Work Centre "Warping". Time: 2–4 hours per beam depending on width and speed. Records: actual warp length, warp tension, breakage count.
WC: Warping
Qty tracked: beam length (m)
Drawing-in (Drafting)
Warp ends threaded through heddles and reed per the fabric construction design. This is a labour-intensive manual operation (or auto-drawing for modern mills). Time: 4–8 hours per beam per loom depending on reed count and width. Done once per new beam or when weave pattern changes.
WC: Drawing-in
Qty tracked: beams drawn
Weaving
Core production stage. Loom runs continuously inserting weft yarn to create grey fabric. Each loom is a separate work centre (or grouped by loom type). Daily output: metres woven per loom per day. Loom efficiency = actual metres / theoretical metres (based on speed × running time × picks per metre).
WC: Rapier / Jacquard / Air-Jet
Qty tracked: metres/shift
Grey Fabric Inspection
100% grey fabric inspection on a fabric inspection machine. Defects marked (warp break, weft break, reed mark, hole, oil stain). Fabric graded: A-grade (≤4 defect points per 100m), B-grade (4–8 points), C-grade (>8 points). B and C grade are sold at discount or cut out.
WC: Inspection
QC check: grade + defect points
Grey Folding / Rolling
Inspected grey fabric folded into bales or rolled onto tubes per customer specification. Lot number, construction (EPI × PPI × width), and weight marked on each roll. Transfer to grey fabric store or directly to finishing/dyeing department.
WC: Folding
Finished goods: Grey Fabric lot created

Grey to finished fabric tracking

The grey fabric to finished fabric flow in Odoo involves two Manufacturing Orders:

MO 1: Yarn → Grey Fabric
Input: warp yarn (by kg) + weft yarn (by kg) + sizing starch (for warp sizing, if applicable). Output: grey fabric (by metre, with weight-per-metre GSM specification). This MO covers warping, sizing, drawing-in, and weaving. The grey fabric produced is assigned a lot number (e.g., GF-2026-05-001 = Grey Fabric batch 001, May 2026).

MO 2: Grey Fabric → Finished Fabric
Input: grey fabric (by metre) + dyeing chemicals/dyes + finishing chemicals. Output: finished fabric (by metre). This MO covers scouring, bleaching, dyeing, finishing (stenter, sanforizing). The finished fabric lot (dye lot) is assigned here.

If wet processing is outsourced to a dye house:

Quality control setup for spinning mills

QC Point 1
Cotton Fibre Receipt
MicronaireTarget 3.8–4.8 μg/inch. Coarser fibre (>4.9) produces harsh yarn; finer (<3.7) causes processing difficulty.
StapleStaple length in mm. Record UHML (upper half mean length). Compare to PO specification.
StrengthBundle strength in g/tex. Minimum 28 g/tex for medium count yarn production.
Trash% trash content by weight. >4% increases waste at carding stage and affects yarn cleanliness.
QC Point 2
In-Process Yarn (Ring Frame)
CountActual count vs nominal count. Allowable deviation: ±2% for standard, ±1% for export quality.
CSPCount Strength Product — single yarn strength × count. Minimum CSP varies by count (e.g., 30s minimum 2,100).
TPITwists per inch. Verify against production specification (twist multiplier × √count). ±5% tolerance.
Elongation% elongation at break. Minimum 4.5% for weaving application. Low elongation = warp breakage on loom.
QC Point 3
Finished Yarn / Grey Fabric Delivery
Lea CountOfficial Lea count test on winding samples. Document result per production lot before delivery.
Uster %Yarn evenness (CVm%). Target <12% for standard, <9% for combed. Higher = more imperfections in fabric.
GSMFabric weight in grams per square metre. ±5% of specified GSM acceptable. Record per roll.
WidthFinished fabric width in cm after finishing. Must meet buyer specification (e.g., 150cm ±1cm).

In Odoo, configure these as Quality Check Points in the Quality module (Manufacturing → Quality → Control Points). Attach each check point to the relevant work order in the routing: cotton checks attach to the "Receipt" operation, in-process yarn checks attach to the "Ring Spinning" work order, finished yarn checks attach to the "Winding" or "Packing" work order. Failed checks create a Quality Alert assigned to the QC manager, and the production lot is blocked from moving to the next stage until the alert is resolved.

Note · Spinning mill, NarsingdiCustomer complaint
A mill shipped a large lot of 30s combed yarn to a knit-fabric customer who rejected it two weeks later — the actual count tested closer to 28s, outside tolerance, and the fabric came out at the wrong GSM on their machines. The mill had the data: a lab technician had recorded the count per frame. But it lived in a paper register the despatch team never saw. We moved the count check into Odoo as a quality control point on the winding work order with a hard pass/fail gate — an out-of-tolerance lot cannot move to finished goods until QC clears or scraps it. The mill was never missing the test. It was missing the gate that stops a failed test from reaching a customer.

Yarn inventory valuation

Use Average Cost (AVCO) for yarn inventory valuation in most spinning mill setups. AVCO is appropriate because:

For export yarn sales where lot-specific cost is required for duty drawback or international customer documentation, use FIFO instead. FIFO tracks the cost of specific lots, which enables accurate cost reporting per export consignment.

For detailed inventory valuation configuration and journal entry structure, see the Odoo inventory valuation cheatsheet — it covers AVCO vs FIFO, landed cost accounting, and the stock journal entry flow that applies directly to yarn and fabric inventory.

Bangladesh spinning mill — specific configuration notes

Bottom line

The three configurations that matter most for a Bangladesh spinning mill in Odoo are: (1) accurate BOM yield factors that reflect actual fibre-to-yarn conversion losses at each stage; (2) yarn count variant management that keeps your product master clean and manageable across multiple counts and compositions; and (3) quality check integration at ring frame and final winding stages to catch count deviation before shipment rather than after customer complaint. These three directly address the most common operational and financial measurement failures in spinning mill ERP. Need help configuring Odoo for your textile mill? Get in touch →

Frequently asked questions

How to manage yarn inventory in Odoo for a spinning mill?

Use Product Variants with Count as the attribute (10s, 16s, 20s, 30s, 40s) under one product template per composition (e.g., "100% Carded Cotton Yarn"). Set UoM to Kg for internal production; add Cone as a secondary UoM with a conversion factor for sales to garment factories. Enable lot tracking per production batch. Set AVCO costing to handle seasonal cotton price variation. Configure minimum reordering rules per count to trigger production MOs when yarn stock drops below the safety threshold for each count variant.

How to set up loom routing in Odoo for a weaving mill?

Create Work Centres for each major loom group (Rapier, Jacquard, Air-Jet, Shuttle) with their capacity (looms × running speed in m/hour) and cost rate (BDT/hour). Define a Routing with work orders: Warping → Drawing-in → Weaving → Grey Inspection → Folding. Attach quality checks to the Weaving and Inspection work orders. Each Manufacturing Order for a fabric style follows this routing, generating separate work orders per stage. Daily production entry: supervisor records metres woven per loom per shift in the MO's work order. This gives you loom efficiency (actual vs theoretical metres/day) in real time.

How to track grey fabric to finished fabric in Odoo?

Use two linked Manufacturing Orders: MO1 (Yarn → Grey Fabric) covers warping, weaving, and inspection. MO2 (Grey Fabric → Finished Fabric) covers wet processing (scouring, dyeing, finishing). If wet processing is outsourced, set MO2 as a Subcontracting BOM — grey fabric is the component sent to the dye house, finished fabric is what comes back. Each MO produces a lot number: grey fabric lot tracks the weaving batch, finished fabric lot tracks the dye lot. Full traceability from yarn lot → grey lot → finished lot → customer delivery is available in Odoo's Traceability report.

What quality checks should be configured in Odoo for a spinning mill?

Three QC points: (1) Cotton receipt — micronaire, staple length, fibre strength, trash content. Reject out-of-spec bales at receipt stage. (2) Ring frame in-process — actual count vs nominal (±2% tolerance), CSP (count-strength product), TPI (twists per inch), elongation at break. Check one sample per frame per shift. (3) Finished yarn before delivery — Lea count test, Uster % evenness, imperfections per km. For fabric: GSM, width, defect grade. Configure these as Odoo Quality Check Points attached to the relevant work order in the manufacturing routing. Failed checks create alerts that block the lot from moving forward until resolved.