Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

UOM Margin Bug in when confirming Quotation to SO

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
salesaccountingfinance
1 Responder
391 Visualizações
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
Cancelar
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
Autor

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.

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.
Avatar
Alana Marie Fusani (alma)
Melhor resposta

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
Cancelar
Nelson Yip
Autor

HI Alana,
What version are you running?

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Subscription product (first month free)
sales accounting finance service
Avatar
0
mar. 25
1164
Reset my inventory, Sales, Purchasing and accounting database
purchase sales accounting finance
Avatar
Avatar
2
mar. 25
2832
How to charge late payment fees on invoices ?
sales accounting finance v7
Avatar
Avatar
Avatar
6
out. 19
10038
How can send / receive Peppol Invoices in Odoo? Is it free? Which App / module? Resolvido
sales accounting
Avatar
Avatar
Avatar
2
nov. 25
2185
Warehouse on Product lines level
sales accounting
Avatar
Avatar
Avatar
2
out. 25
647
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 ภาษาไทย Türkçe українська Tiếng Việt

Odoo é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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