Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Artificial Intelligence
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Property Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

UOM Margin Bug in when confirming Quotation to SO

Naroči se

Get notified when there's activity on this post

This question has been flagged
salesaccountingfinance
1 Odgovori
1475 Prikazi
Avatar
Nelson Yip

When creating a Quotation with UOM of 48CS (48 Units) the margins is correct

CGA001-BK - $3.00 (sales $) / $1.00 (cost $)

1 48CS - $144.00 (48 * $3.00)

Margin = $96.00 ($144 - $48 = $96) which is correct in the Quotation.

When you confirm it to an SO (2nd Attachment)

The UoM did not carry over correctly and affects the SO price and the Financial Balance Sheet / Profit and Loss Statements.

The Margin is now $143.00 which is incorrect.

I think the math is [Unit Price - (Cost Price * UoM)]

$144.00 - ( $1 * 1 Unit) = $143.00

I believe it is taking the DEFAULT UOM and not the actual UOM of the QUOTE to make this calculation.  This is a serious bug and need to corrected as soon as possible.


-1
Avatar
Opusti
Cybrosys Techno Solutions Pvt.Ltd

Hi,


The issue you described is a known Odoo bug related to margin calculation when using a sales UoM that is a multiple of the base UoM (such as 48CS = 48 units). Odoo correctly computes the margin on the quotation, multiplying both the sales price and cost by the UoM quantity. However, when the quotation is confirmed into a Sales Order, Odoo recalculates the margin using only the base UoM cost (1 unit), ignoring the sales UoM multiplier. This causes the Sales Order margin to be inflated and incorrect, which then affects accounting reports like Profit & Loss and COGS.


This is not a configuration problem but a functional bug present across several Odoo versions. The fix requires either an official Odoo patch or a custom override to ensure the margin formula multiplies cost × UoM quantity. Workarounds include computing margin only on the quotation, adding a custom calculated field that applies the correct formula, or reporting the issue directly to Odoo Support for a proper fix.


Hope it helps

Odoobot

Notice: The information provided in this e-mail is confidential and is for the sole use of the intended recipient. Any review, reliance, dissemination or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail or telephone, delete this message and destroy all copies of the message immediately. Thank you in advance for your cooperation.
Nelson Yip
Avtor

If this is a known bug how come Odoo has not fix this as this is a big issue.  Seems like an easy fix, I guess Odoo is not ready for mainstream yet.

Chris TRINGHAM

Hi @Cybrosys Techno Solutions Pvt.Ltd - how does an incorrect margin calculation on a sales order affect COGS or the Profit & Loss? That really would be a serious problem.

ensaladadefrutaco, Santiago Amengual
I'm having the same problem, how can I fix it?


Odoobot

You have to change the Inventory Valuation Costing Method to Standard.

 

FIFO / AVCO causes this issue.

 

Best Regards,

 

Nelson Yip

 

HSE USA, LLC

5832 E 61st Street

Commerce, CA 90040

P: 323-278-0888 x2122

F: 323-278-0999

nelson.yip@hseusa.com

https://www.hseusa.com

 

 

From: Santiago Amengual <notifications@mail.odoo.com>
Sent: Friday, November 21, 2025 6:26 PM
To: Nelson Yip <nelson.yip@hseusa.com>
Subject: UOM Margin Bug in when confirming Quotation to SO

 

CAUTION: This E-mail originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

 

I'm having the same problem, how can I fix it? ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​

View Forum Post

  

UOM Margin Bug in when confirming Quotation to SO


I'm having the same problem, how can I fix it?

 

--

Santiago Amengual

Notice: The information provided in this e-mail is confidential and is for the sole use of the intended recipient. Any review, reliance, dissemination or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail or telephone, delete this message and destroy all copies of the message immediately. Thank you in advance for your cooperation.
ensaladadefrutaco, Santiago Amengual

That doesn't work; it also doesn't show the standard cost at the point of sale when I leave the price as standard. Are there any other suggestions for fixing this?

Avatar
Alana Marie Zaki (alma)
Best Answer

Hello Nelson Yip and Cybrosys. I’ve just replicated your configuration on my end, and everything appears to be working as expected in Odoo 19. Please see the details below:



All the best,


AZ


1
Avatar
Opusti
Nelson Yip
Avtor

HI Alana,
What version are you running?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Reset my inventory, Sales, Purchasing and accounting database
purchase sales accounting finance
Avatar
Avatar
1
dec. 25
4301
Subscription product (first month free)
sales accounting finance service
Avatar
0
mar. 25
1853
How to charge late payment fees on invoices ?
sales accounting finance v7
Avatar
Avatar
Avatar
6
okt. 19
11166
Cuenta De Cliente
accounting finance
Avatar
Avatar
Avatar
3
mar. 26
1219
feature request: Structured E-Invoicing (XRechnung / ZUGFeRD / EN 16931) in Odoo Online Free Plan
sales accounting
Avatar
Avatar
1
feb. 26
1711
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now