Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Stock valuation: Average Costing uses Sales Price instead of Purchase Cost

Subscribe

Get notified when there's activity on this post

This question has been flagged
stockinventorystockvaluationvaluation
2 Replies
1027 Views
Avatar
又一科技有限公司

Hi all,


I'm using the Average Cost (AVCO) method to calculate the cost of goods in Odoo 18. I checked Valuation by Lot/Serial number. 


Here’s the situation:


  • I purchased 27 units at a cost of $700/unit.
  • I then added landing costs of $2,700, which means the total cost per unit should be:

→ $700 + ($2,700 ÷ 27) = $800/unit.


However, when I deliver the product, Odoo uses the sales price ($1,904.7652) to calculate the product’s total value instead of the average cost.


You can see from the screenshot that:


  • The Sales Order shows a sales price of $1,904.7652.
  • The Purchase Order and Landing Cost entries are recorded correctly.
  • But the Stock Valuation at delivery seems to use the sales price instead of the average cost.


Has anyone experienced this before?

Is there any possible configuration or data issue that could cause Odoo to use the sales price instead of the average cost during stock valuation? 


Any suggestion or explanation would be greatly appreciated!


0
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,


When using AVCO with automated valuation and lot/serial tracking, Odoo should always take the average cost (in your case $800/unit) when posting delivery valuation, while the sales order line shows the sales price separately. If instead you see the sales price being used in valuation, it usually means Odoo is not picking up the cost correctly.


This can happen for several reasons. The most common are product configuration mismatches (e.g., originally set to Standard Price or FIFO and later changed to AVCO), landed costs not validated before delivery, or valuation by lot/serial not updating properly. It may also be due to a customization overriding stock move pricing logic, or issues with currency conversion and rounding that make it look like the sales price is being used.


To diagnose, check the Stock Valuation Layers and accounting entries for the delivery to see what value was posted. Testing the process on a fresh product set to AVCO from the start can confirm if the issue is product-specific. If it works correctly there, the issue is likely due to the product’s historical setup or timing of landed cost validation.


The usual fix is to reverse the incorrect delivery, validate landed costs properly on the receipt, and then deliver again so Odoo recalculates with the correct average cost. If custom modules are installed, it’s also worth checking if they override how costs are computed in stock moves.


Hope it helps

0
Avatar
Discard
Avatar
Alexander Koltsov
Best Answer

Hi,

That’s a tricky situation — and you’re right, the sales price should never affect the product’s cost or stock valuation. If Odoo is using the sales price in valuation, it’s likely a configuration or data issue rather than normal behavior.

A few things to check before assuming it’s a bug:

  1. Currencies and Exchange Rates – Make sure all related transactions (PO, Landed Cost, Delivery) use consistent currencies and correct exchange rates.
  2. Product Reception – Verify that the goods were properly received into stock before applying Landed Costs. Otherwise, the valuation adjustment may not apply correctly.
  3. Landed Cost Document – Open it and confirm that you clicked “Compute” (Calculate) before validating. Without that, Odoo doesn’t actually distribute the extra cost.
  4. How You Verified the Cost – Are you checking via the Stock Valuation report or via Accounting Entries? It’s important to confirm which layer Odoo is using for cost valuation.
  5. Document Sequence – The correct flow must be: Receipt → Landed Cost → Delivery. If the delivery was done before landed costs were posted, the system won’t recalculate the valuation automatically.

We at ERPixel have seen similar cases — in most situations, it turns out to be a data sequence or configuration issue rather than a true bug.

Are you using Odoo Online (Cloud) or your own server? That can also affect how valuation updates behave.

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

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

Sign up
Related Posts Replies Views Activity
How to edit an inventory adjustment
stock inventory stockvaluation valuation
Avatar
0
Feb 20
4258
What's the difference between inventory on hand and future inventory? Solved
stock inventory valuation
Avatar
1
Nov 24
24072
Account Stock Properties Stock Valuation
stock inventory valuation
Avatar
Avatar
Avatar
3
Jan 18
15643
How to Allow Backdated Inventory Transactions with Real-Time Valuation?
stock manufacturing inventory valuation
Avatar
Avatar
Avatar
2
Oct 25
1110
How to Import Historical SO,PO
stock inventory sales.order stockvaluation
Avatar
Avatar
Avatar
Avatar
Avatar
5
Nov 23
7171
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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