Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
salesfifocostingmargin
5 Réponses
8557 Vues
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
Ignorer
Avatar
bhavik vyas
Auteur Meilleure réponse

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
Ignorer
Manish Bohra

Thanks for the reply.

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

Avatar
Katrina Agius
Meilleure réponse

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
Ignorer
Avatar
Paresh Wagh
Meilleure réponse

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
Ignorer
bhavik vyas
Auteur

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
Meilleure réponse

Hello Bhavik, 

Have you find any solution related to this one?

0
Avatar
Ignorer
Avatar
Frank de Goeij
Meilleure réponse

Dear Bhavik or others,

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



0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
See detailed product analysis V17E
sales costing analysis margin OdooV17
Avatar
0
oct. 24
1347
Margin calculation in sales
sales margin
Avatar
Avatar
1
déc. 22
5032
How to calculate sales margin when selling UOM is different than purchase UOM?
sales margin
Avatar
0
oct. 17
5440
Set Sales Margin visibility only for users with Sales Manager Permissions? Résolu
sales margin 9.0c
Avatar
Avatar
2
juin 22
7020
Project costing multiplier
sales costing adjustment
Avatar
0
févr. 16
3781
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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