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
    • Odobritve
    • 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
    • Estate 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č

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
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č

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
salesfifocostingmargin
5 Odgovori
8564 Prikazi
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
Opusti
Avatar
bhavik vyas
Avtor 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
Opusti
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
Opusti
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
Opusti
bhavik vyas
Avtor

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
Opusti
Avatar
Frank de Goeij
Best Answer

Dear Bhavik or others,

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



0
Avatar
Opusti
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
See detailed product analysis V17E
sales costing analysis margin OdooV17
Avatar
0
okt. 24
1349
Margin calculation in sales
sales margin
Avatar
Avatar
1
dec. 22
5045
How to calculate sales margin when selling UOM is different than purchase UOM?
sales margin
Avatar
0
okt. 17
5445
Set Sales Margin visibility only for users with Sales Manager Permissions? Solved
sales margin 9.0c
Avatar
Avatar
2
jun. 22
7030
Project costing multiplier
sales costing adjustment
Avatar
0
feb. 16
3788
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 ภาษาไทย 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