UoM Package Mappings
Configure how packages relate to individual pieces for different units of measure.
What Are UoM Package Mappings?
Some suppliers sell products in different package sizes depending on the unit of measure:
- Box: 24 pieces per box
- Pallet: 1000 pieces per pallet
- Case: 12 pieces per case
UoM mappings tell Pricelist Heaven how many pieces are in each package type.
When to Use
Use UoM mappings when:
- Supplier prices are per package/box
- You want Odoo to track individual pieces
- Different products have different package sizes
Configuring Mappings
- Edit supplier
- Scroll to "UoM Package Mappings"
- Add mapping:
| UoM | Package Quantity | Odoo UoM ID |
|---|---|---|
| Box | 24 | 1 |
| Pallet | 1000 | 5 |
Fields:
UoM Name: How it appears in the supplier file (e.g., "Box", "CTN")
Package Quantity: Number of pieces in one package
Odoo UoM ID: The Odoo unit of measure ID to use
How It Works
During import, if a product has UoM "Box":
- Supplier Price: €24.00 per box
- Package Quantity: 24 pieces
- Calculated Price: €24.00 ÷ 24 = €1.00 per piece
Odoo receives:
- Price: €1.00 per piece
- Minimum Quantity: 24 (must buy full box)
- Purchase UoM: Box
Finding Odoo UoM IDs
In Odoo:
- Go to Inventory → Configuration → Units of Measure
- Enable Developer Mode (Settings → Activate developer mode)
- Open the UoM
- Check the ID in the URL or top-right
Default Package Quantity
If a UoM doesn't have a specific mapping, the supplier's default package quantity is used.
Example Configuration
For a supplier that ships in various packages:
Box: 24 pieces
Case: 12 pieces
Pallet: 1200 pieces
Add three mappings to handle all package types.