Losing $99K Annually? Track Margins with Odoo 18 Margin Analysis
By Braincuber Team
Published on December 22, 2025
Sales team celebrates: "We sold $847K this quarter!" CFO asks: "What's our profit?" Silence. Sales: "Revenue is $847K." CFO: "I didn't ask revenue. I asked profit. What are the margins?" Sales rep pulls up spreadsheet. Product A: Sold for $100, cost $95 = $5 margin (5%). Product B: Sold for $200, cost $180 = $20 margin (10%). Product C: Sold for $50, cost $60 = -$10 margin (LOSING MONEY). Nobody noticed Product C losing $10 per sale because tracking revenue, not profit.
Your margin blindness: Sales reps chase revenue targets, not profit. Result: Sell 1,000 units of Product C at loss. Total loss: $10,000. Sales team gets bonus for hitting revenue target. Company loses money. No visibility into which products profitable, which losing. Pricing decisions based on guesses ("competitor charges $50, so we charge $49"), not margin analysis.
Cost: Sold 1,000 units Product C at $10 loss each = -$10,000. Sold 500 units low-margin Product A (5% margin) instead of pushing high-margin Product B (10% margin) = $2,500 opportunity cost. Pricing Product D wrong: Set price at $75, cost is $74 = 1.3% margin (should be minimum 20%). Annual impact: $287K revenue generated only $14,350 profit (5% margin, should be 25% = $71,750 lost profit). Plus time waste: 6.7 hours weekly calculating margins in Excel = $17,420/year.
Odoo 18 Margin Analysis fixes this: Automatic margin calculation on every sale order (see profit instantly), product-level margin reports (identify losers), customer margin analysis (which clients most profitable), margin % visible on order lines (sales reps see profit impact), historical margin trends (track improvement). Here's how to enable margin tracking so you stop losing $99,170/year selling wrong products at wrong prices.
You're Losing Money If:
What Margin Analysis Shows
Key Metrics:
- Margin Amount: Sale Price - Cost = Profit per unit (e.g., $100 - $80 = $20)
- Margin %: (Margin / Sale Price) × 100 (e.g., $20/$100 = 20%)
- Total Margin: Sum of all line item margins on order
- Customer Margin: Total profit from specific customer over time
- Product Margin: Historical profitability per product
- Margin Trends: Track margin % changes over time
Step 1: Enable Margins on Sale Orders
- Go to Sales → Configuration → Settings
- Scroll to Quotations & Orders section
- Enable Margins checkbox
- Click Save
Step 2: View Margins on Sale Orders
Once enabled, every sale order shows margin information.
Create Sale Order
- Go to Sales → Orders → Quotations
- Click New
- Select customer
- Add products to order lines
Margin Columns Appear
On Each Order Line:
- Cost: Product cost price (from product form)
- Margin: (Unit Price - Cost) × Quantity
- Margin %: (Margin / Subtotal) × 100
At Bottom of Order:
- Total Margin: Sum of all line margins
- Overall Margin %: Total margin / Total amount
Example Calculation
Sale Order with 3 Products:
| Product | Qty | Sale Price | Cost | Subtotal | Margin | Margin % |
|---|---|---|---|---|---|---|
| Desk | 2 | $500 | $380 | $1,000 | $240 | 24% |
| Chair | 5 | $150 | $120 | $750 | $150 | 20% |
| Lamp | 3 | $80 | $70 | $240 | $30 | 12.5% |
| Order Total: | $1,990 | $420 | 21.1% | |||
Insight: Order generates $420 profit on $1,990 revenue. 21.1% margin is healthy. Desk has highest margin %, push that product more.
Step 3: Analyze Sales Order Margins
Graph View
- Go to Sales → Orders → Orders
- Click Graph view icon (bar chart)
- Click Measures dropdown
- Select Margin
- Group by Customer or Product
- See visual representation of margins
Pivot View
- Click Pivot view icon
- Add Margin to measures
- Rows: Customers
- Columns: Time periods (Month, Quarter)
- See margin trends over time per customer
Step 4: Product Margin Analysis
Deep dive into individual product profitability.
- Go to Accounting → Reporting → Management → Product Margins
- Set filters:
- From Date: Start of analysis period
- To Date: End of analysis period
- Invoice State: Draft, Open, Paid, or All
- Click Open Margins
- Report displays for each product:
- Average Sale Unit Price
- Invoiced Quantity (units sold)
- Turnover (total revenue)
- Total Cost
- Purchased Quantity
- Total Margin (Turnover - Total Cost)
- Margin %
Example Product Margin Report
| Product | Units Sold | Turnover | Total Cost | Total Margin | Margin % |
|---|---|---|---|---|---|
| Premium Desk | 127 | $63,500 | $48,260 | $15,240 | 24% |
| Budget Chair | 847 | $42,350 | $40,656 | $1,694 | 4% |
| Clearance Lamp | 1,023 | $30,690 | $33,759 | -$3,069 | -10% |
✓ Premium Desk: Great margin (24%). Push this product in marketing.
⚠ Budget Chair: Low margin (4%). Increase price or negotiate better supplier cost.
✗ Clearance Lamp: LOSING MONEY (-10%). Stop selling immediately or raise price above cost.
Step 5: Customer Margin Analysis
Identify which customers are most profitable.
- Go to Sales → Orders → Orders
- Click Pivot view
- Measures: Select Margin
- Rows: Customer
- See total margin per customer
- Sort by Margin (descending) to find top customers
Example: Top 5 Customers by Margin
| Customer | Orders | Revenue | Total Margin | Avg Margin % |
|---|---|---|---|---|
| ABC Corp | 47 | $287,400 | $68,976 | 24% |
| XYZ Ltd | 23 | $156,900 | $34,518 | 22% |
| TechStart Inc | 89 | $134,500 | $8,070 | 6% |
| BudgetBuy Co | 127 | $98,300 | $2,949 | 3% |
| Discount Depot | 67 | $45,800 | -$2,290 | -5% |
Strategy Shift:
Real-World Use Cases
Use Case 1: Identified Loss-Making Product
Situation:
Wholesaler selling 1,200 units/month of "Economy Widget" at $45. Cost: $47. Losing $2/unit.
Discovery via Margin Analysis:
- Ran Product Margin report
- Economy Widget: -4.4% margin
- Annual loss: 1,200 × 12 × $2 = -$28,800
Action Taken:
- Option 1: Raise price to $52 (10% margin)
- Option 2: Negotiate supplier down to $40
- Chose Option 1: Lost 200 units/month volume
- But now profitable: 1,000 × $7 margin = $7,000/month profit
Result:
Went from -$28,800/year loss to +$84,000/year profit = $112,800 swing.
Use Case 2: Optimized Sales Team Focus
Situation:
Sales team compensated on revenue. Pushed high-volume, low-margin products.
Margin Analysis Revealed:
- Product A: 60% of sales volume, 8% margin
- Product B: 20% of sales volume, 28% margin
- Product C: 20% of sales volume, 15% margin
- Blended margin: Only 12.6%
Changed Commission Structure:
- Was: 5% of revenue
- Now: 20% of gross margin
- Sales reps now incentivized to push Product B (highest margin)
Result After 6 Months:
- Product B: 20% → 45% of sales mix
- Blended margin: 12.6% → 19.3%
- Revenue: Flat at $2.4M
- Profit: $302,400 → $463,200 (+53%)
Use Case 3: Renegotiated Customer Contract
Situation:
Large customer (15% of revenue) demands 40% discount.
Customer Margin Analysis:
- Annual revenue: $360K
- Total margin: $10,800
- Margin %: 3%
- Serving cost (dedicated account manager): $24K/year
- Net result: LOSING $13,200/year on this "big" customer
Action:
- Showed customer margin data to sales team
- Renegotiated: Reduced discount to 25%
- Customer threatened to leave
- Decision: Let them walk (losing money anyway)
Result:
Customer accepted 25% discount. New margin: 12% = $43,200/year. Net profit (after serving cost): $19,200 vs -$13,200 = $32,400 improvement.
Common Mistakes
1. Wrong Cost in Product Form
Product cost not updated. Shows cost $50, actual cost $65. Margins look great on paper, losing money in reality.
Fix: Regular cost review. Update product costs when supplier prices change. Automated cost updates from purchase orders.
2. Ignoring Negative Margins
Saw -5% margin on Product X. Thought: "High volume makes up for it." No, it doesn't. Selling more = losing more.
Fix: Zero tolerance for negative margins. Immediately stop sales OR raise price above cost.
3. Chasing Revenue, Not Profit
Sales team hits $1M revenue target. Margin: 4%. Could've had $800K revenue at 25% margin = more profit.
Fix: Change KPIs. Track gross profit, not just revenue. Commission based on margin, not sales volume.
4. Not Reviewing Margins Regularly
Ran margin analysis once. Never looked again. Costs changed, margins eroded, didn't notice for 8 months.
Fix: Monthly margin reviews. Set alerts for products dropping below minimum margin threshold (e.g., 15%).
Real-World Impact Example
Scenario: Distribution Company ($2.4M Annual Revenue)
Before Margin Analysis:
- Revenue target: $2.4M annually
- Sales team pushed volume, any product
- No visibility into product-level profitability
- Product A: 847 units sold at -$10 margin each = -$8,470 loss
- Product B: 500 units sold, 5% margin (could push Product C at 25% margin instead)
- Customer X: $360K revenue, 3% margin, $24K servicing cost = -$13,200 net
- Manual margin calculations: 6.7 hours weekly in Excel = $17,420/year
- Blended margin: 8.2%
- Total profit: $196,800
- Issues costing: $99,170/year (lost profit opportunities + manual work)
After Implementing Odoo Margin Analysis:
- Enabled margins on sale orders (instant visibility)
- Ran Product Margin report monthly
- Identified Product A losing money: Stopped selling it
- Redirected sales focus to Product C (25% margin)
- Customer margin analysis: Renegotiated Customer X pricing (3% → 12%)
- Changed sales commission: From 5% revenue to 20% of margin
- Sales reps now see margin % on every quote (behavior changed)
- Automated margin tracking: Zero Excel time = $17,420 saved
- New product mix: Higher margin products prioritized
- Revenue: $2.4M → $2.35M (slight drop)
- Blended margin: 8.2% → 18.7%
- Total profit: $196,800 → $439,450
- Profit increase: $242,650 (+123%) despite lower revenue
Impact: $242,650 profit increase (123%) by optimizing for margin instead of revenue
Quick Implementation Checklist
- Enable margins: Sales → Settings → Enable "Margins" checkbox
- Verify product costs: Ensure all products have accurate cost prices
- Review sale orders: Check margin columns appear on order lines
- Run Product Margin report: Accounting → Reporting → Product Margins
- Identify losers: Flag products with negative or <10% margins
- Analyze customers: Pivot view to see which customers most/least profitable
- Set minimum margins: Policy: No product sold below 15% margin
- Train sales team: Show them margin visibility, explain importance
- Adjust compensation: Tie bonuses to profit, not just revenue
- Monthly reviews: Schedule recurring margin analysis meetings
Pro Tip: Don't just enable margins and forget. Make margin % a required field in sales process. Sales rep can't submit quote without reviewing margin. Prevents low-margin deals from slipping through.
Losing $99K Annually Selling Wrong Products?
We configure Odoo Margin Analysis with product-level tracking, customer profitability reports, automated margin visibility on quotes. Stop chasing revenue—optimize for profit.
