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

Multi-Warehouse Replenishment Issue

Subscribe

Get notified when there's activity on this post

This question has been flagged
inventory
1 Reply
475 Views
Avatar
Alexis INCORVAIA

Odoo enterprise v 18.4 
Hello,
Let me set the scene:

I have two warehouses:

1. Warehouse SB

This is the main warehouse, which receives and ships goods (see screenshot of warehouse SB).


Entrepôt SB

2. Warehouse DC

This is a secondary warehouse used to store surplus stock.

It is sometimes selected as the delivery location for purchase orders, but it is never used to ship goods to final customers.

Please ignore the third warehouse 3EXT shown in the screenshot. It is not relevant to this scenario and would only add unnecessary complexity.

Entrepôt DC


Configured Routes

For Warehouse SB, I have configured a supply route from Warehouse DC:

  • Pull From 2DC/Stock → 2DC/Output

    (Method: Take from stock; if not available, trigger another rule)

  • Pull From 2DC/Output → Inter-warehouse Transit

    (Method: Trigger another rule)

  • Pull From Inter-warehouse Transit → 1SB/Stock

    (Method: Trigger another rule)


Problem Context

I have a product with:

  • 100 units in SB

  • 100 units in DC

We receive a sales order for 300 units.

What I want Odoo to do:

  • Take 100 from SB

  • Take 100 from DC and transfer them to SB

  • Then purchase 100 for SB to cover the remaining demand

What Odoo actually does:

  • It takes 100 from SB

  • It creates a need for 200 in DC, so it pulls 200 from DC and sends them to SB

  • Since DC only has 100, it creates a purchase of 100 for DC, to fill the artificial shortage created there

Question

Does anyone know how to achieve the intended scenario, where the remaining quantity is purchased for SB, not DC?

Thanks in advance!

0
Avatar
Discard
Avatar
Deepak Dwivedi
Best Answer

To achieve the behaviour you want, you will need to adjust the Buy route configuration so that Odoo purchases stock directly for Warehouse SB, not for DC.

1. Update the Buy Route

Right now, the “Buy” rule of Warehouse DC is pointing to DC Receipt as its operation type.

Because of this, whenever DC faces a shortage, even an artificial one created by the pull rules, Odoo triggers a purchase for DC, not SB.

To correct this:

Change the operation type of the Buy rule for DC to SB’s Receipt operation type.

This ensures that any shortage created while fulfilling SB’s demand results in a Purchase Order for SB, not DC.

If you want to avoid confusion, you can archive the DC Receipt operation type.

This makes sure Odoo does not try to purchase for DC at all.

2. Adjust the Resupply Route From DC → SB

In your route “Resupply from DC”, for the third rule (Inter-warehouse Transit → SB/Stock):

Make sure the rule is configured as:

Take from stock ,if unavailable, trigger another rule

This ensures proper flow:

If SB does not have enough stock, Odoo first checks DC.

DC sends whatever is available (100 units in your example).

The remaining shortage (100 units) triggers the Buy rule—but now for SB, not DC.

3. What Happens After Fixing the Rules

With the corrected routing:

SO of 300 units creates demand at SB.

SB supplies its 100 units.

Odoo pulls 100 units available in DC and moves them to SB.

The remaining 100-unit shortage now triggers a Purchase Order for SB, because the Buy route is configured to replenish SB.

You may still see a backorder request in DC because the system originally generated demand for 200 from DC, but DC only had 100 available. This is normal behaviour based on pull rules and can be safely managed or ignored depending on the process.

If you have any follow-up questions or want me to check your exact routing configuration, feel free to ask!

1
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 print all product labels at once, including quantities in stock?
inventory
Avatar
Avatar
Avatar
2
Dec 25
674
Odoo Inventory - Reference warehouse visit Netherlands - >1000 orders per day
inventory
Avatar
Avatar
1
Nov 25
452
Odoo Inventory Valuation Report
inventory
Avatar
Avatar
Avatar
Avatar
3
Nov 25
7658
Inventory rotation or inventory turnover
inventory
Avatar
Avatar
1
Oct 25
1992
Lot/Serial Number Solved
inventory
Avatar
Avatar
Avatar
2
Sep 25
1200
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