Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Wrong Margin in Sales Report ( with real time - fifo) costing - V12 Enterprise.

Subscriure's

Get notified when there's activity on this post

This question has been flagged
salesfifocostingmargin
5 Respostes
8548 Vistes
Avatar
bhavik vyas


In sales report given in reporting section in sales app, Margin is calculated based on order lines for particular variant ,means unit price - (cost in sales order line)..
Now cost in sales order line is taken based on product onchange (from product variant form).
But in Real time valuation with FIFO.Cost price in product variant is updated once there is an outgoing.so cost price is not updated yet while you are doing sales ,and leading to wrong margin in the Sales report.
​

For example :
let say product variant  x have 58.5 as cost price in form view.Now i purchased a new unit with 78.
but still cost in product variant is 58.5(because it will update once i do the sales/delivery.)

Now when i create sales order ,odoo will take 58.5 as cost in order line based on product variant  onchange. While it should be 78.
​
Is this a real issue with Real time -FIFO or i am doing something wrong ?
If it's the issue is there any solution .
And also i don't understand logic behind updating cost after delivery order is done .Is there any particular reason ,odoo has done it in such way ?

0
Avatar
Descartar
Avatar
bhavik vyas
Autor Best Answer

Hello All, my bad for the late response.
As a solution, what I did is I converted the cost field in the order line as a computed field, which takes values from the Product - Cost field. That way once the delivery order is completed, values in the order line with the latest cost will be updated and hence the correct margin report.

0
Avatar
Descartar
Manish Bohra

Thanks for the reply.

Can you share your code which one you’re applied.

Avatar
Katrina Agius
Best Answer

this has been a bone of contention for us since we started with odoo. as far as we can understand, even with studio, there is no way to have margin be accurate in real time., this means sales people still need to do external calculations to be able to ensure an adequate margin is applied. we found you can only achieve margin reporting accurately once goods are received and delivered (we are using AVCO) and purchase invoices posted.

0
Avatar
Descartar
Avatar
Paresh Wagh
Best Answer

In FIFO (First In First Out), the cost of the item is determined at the time the picking is completed because the system is able to determine the "first in" batch only at that point in time.

0
Avatar
Descartar
bhavik vyas
Autor

Thanks for the input Paresh! I did some research myself. It turns out that the reason why odoo updated only after the delivery order is ,the cost field in product is not actually cost it is cost of goods sold -> which can only be determined after good has been sold. Because there could be landed cost also be involved in delivering product exact cost of goods sold can only be determine once delivery is done.

However ,the error in margin is real ,because in sale report ,margin is calculated only based on the cost price given in the sales order line at the time of sales order creation .

Maarten Gerits

Dear Bhavik

I'm experiencing the same issue at the moment

Do you have found a solution for the reporting of the margin in de sale reports ?

Thx

OdooBot
Yes ,i found a solution with a customization. 
Bhavik Vyas
ERP-Consultant
9033986379
www.odoowikia.com




On Fri, Jan 31, 2020 at 12:19 PM Maarten Gerits <maarten@mgbusiness.net> wrote:

Dear Bhavik

I'm experiencing the same issue at the moment

Do you have found a solution for the reporting of the margin in de sale reports ?

Thx

Envoyé par Odoo S.A. using Odoo.

Avatar
Manish Bohra
Best Answer

Hello Bhavik, 

Have you find any solution related to this one?

0
Avatar
Descartar
Avatar
Frank de Goeij
Best Answer

Dear Bhavik or others,

We are facing the same issue. Could the solution be shared? Thanks



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

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

Registrar-se
Related Posts Respostes Vistes Activitat
See detailed product analysis V17E
sales costing analysis margin OdooV17
Avatar
0
d’oct. 24
1344
Margin calculation in sales
sales margin
Avatar
Avatar
1
de des. 22
5024
How to calculate sales margin when selling UOM is different than purchase UOM?
sales margin
Avatar
0
d’oct. 17
5437
Set Sales Margin visibility only for users with Sales Manager Permissions? Solved
sales margin 9.0c
Avatar
Avatar
2
de juny 22
7012
Project costing multiplier
sales costing adjustment
Avatar
0
de febr. 16
3777
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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