Skip to Content
Q&A

Automatically Calculate the Selling Price Using Cost Plus Markup

Stop manually updating prices whenever your cost price changes.

Terug naar alle Q&A
January 15, 2026 by
Automatically Calculate the Selling Price Using Cost Plus Markup
DAADit Group, Nick

U koopt producten in en wilt daar een vaste marge op — zeg kostprijs × 1,35. Zolang u dat handmatig bijhoudt, betekent elke inkoopprijswijziging een rondje langs het verkooptabblad van al uw producten. Bij tien artikelen is dat vervelend, bij duizend is het ondoenlijk. Odoo kan de verkoopprijs automatisch laten meebewegen met de kostprijs.

Een prijslijst op basis van kostprijs

Activeer eerst prijslijsten in Verkoop → Configuratie → Instellingen en kies daar voor Geavanceerde prijsregels. Maak vervolgens onder Verkoop → Producten → Prijslijsten een prijslijst aan met een regel:

  • Gebaseerd op: kostprijs (cost).
  • Toeslag: 35% — ofwel kostprijs × 1,35.
  • Toepassen op: alle producten, een categorie of één specifiek product.

Koppel die prijslijst aan de klant of aan een klantsegment (bijvoorbeeld 'Wederverkopers'). Verandert daarna de kostprijs op het product, dan rekent Odoo bij de eerstvolgende offerte automatisch met de nieuwe verkoopprijs. Geen nachtelijke Excel-sessies meer na een prijsverhoging van uw leverancier.

Verschillende marges per productcategorie

In de praktijk wilt u zelden één marge over uw hele assortiment: op accessoires zit 60%, op machines 20%. Maak daarvoor niet vijftig aparte prijslijsten, maar gebruik meerdere regels binnen één prijslijst, elk toegepast op een productcategorie. Eén prijslijst 'Standaard verkoop' met drie categorieregels is veel beter te onderhouden dan een woud aan lijstjes.

Let op: welke kostprijs gebruikt Odoo?

De berekening gebruikt het veld Kostprijs (standard_price) op het product. Werkt u met de waarderingsmethode AVCO of FIFO, dan werkt Odoo dat veld automatisch bij op basis van uw ontvangsten. Staat de waardering op 'Standaardprijs', dan moet u de kostprijs zelf actueel houden — anders rekent uw mooie marge-formule met verouderde cijfers. Afronding regelt u per prijsregel, bijvoorbeeld afronden op € 0,05 of eindigen op ,95.

Tot slot

Praktische tip: controleer na het inrichten uw werkelijke marges via Verkoop → Rapportages → Verkoop met de meetwaarde 'Marge'. Zo ziet u snel of de formule doet wat u bedoelde. Hulp nodig bij een slimme prijsstructuur in Odoo? Neem contact op met DAADit Group.

You buy in products and want a fixed margin on top — say cost price × 1.35. As long as you maintain that by hand, every purchase price change means a tour past the sales tab of all your products. Annoying with ten items, impossible with a thousand. Odoo can make the selling price follow the cost price automatically.

A pricelist based on cost

First enable pricelists in Sales → Configuration → Settings and select Advanced price rules. Then, under Sales → Products → Pricelists, create a pricelist with a rule:

  • Based on: cost.
  • Markup: 35% — in other words, cost × 1.35.
  • Apply on: all products, a category, or one specific product.

Link that pricelist to the customer or to a customer segment (for example 'Resellers'). When the cost price on the product changes, Odoo automatically calculates with the new selling price on the next quotation. No more late-night Excel sessions after a supplier price increase.

Different margins per product category

In practice you rarely want one margin across your whole range: accessories carry 60%, machines 20%. Do not create fifty separate pricelists for that — use multiple rules within one pricelist, each applied to a product category. A single 'Standard sales' pricelist with three category rules is far easier to maintain than a forest of lists.

Watch out: which cost does Odoo use?

The calculation uses the Cost field (standard_price) on the product. If you use AVCO or FIFO valuation, Odoo updates that field automatically based on your receipts. With 'Standard Price' valuation, you have to keep the cost up to date yourself — otherwise your neat margin formula works with stale numbers. Rounding is set per price rule, for instance rounding to € 0.05 or ending in .95.

Wrapping up

Practical tip: after setting this up, verify your actual margins via Sales → Reporting → Sales with the 'Margin' measure. That quickly shows whether the formula does what you intended. Need help building a smart pricing structure in Odoo? Contact DAADit Group.

Vraag niet beantwoord?

Onze Odoo-consultants denken graag met u mee. Plan een vrijblijvend kennismakingsgesprek.

Plan een afspraak
Set Payment Terms by Customer
30 days for one, immediate for the other — without having to adjust each invoice manually.