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

Issue with Routes (Odoo 16)

Subscribe

Get notified when there's activity on this post

This question has been flagged
inventoryroutesodoo16features
4 Replies
3480 Views
Avatar
Filippo Agostinelli

Hello,

I've an issue: i'm trying to create a route in v16 where if a sell a product for 20 units, and i only have 5 units in my WH/stock, i need an automatic purchase order  for 15 units left. I tried some routes but anyone worked: at least i can create an automatic PO for the original SO's quantity. 

Anyone can help me?

Thanks in advance

0
Avatar
Discard
Avatar
Lars Aam
Best Answer

There are two processes:

Make To Order (MTO).  If you activate this (routes are archived by default i Odoo), with buy route on the product, you will get a purchase requisition directly connected to your sales order with the full qty. For whatever you have in stock.  

It is possible to manual override: Reduce qty on purchase, and deliver partly from stock. But it is manual.  But this is the downside of using MTO. It create extra work in cases where the process is not stictly MTO

The other process is usually named Make To Stock. (MTS).  Then you purchase into your stock and sell from there. In this process you use reodering rules on the product.  You can set minimum stock = reorder point, refill qty.  Running the process "Rescheduling" , automatic by default once a day) or manual from the inventory menu.  You also have the operation Replenishment to manually follow up what you need.

In the reorder rule you can set replenishment to Auto or Manual. If Manual you must use the operation Replenishment in Inventory.  If Auto requisitions will be reated with the rescheduling job automatic.

If you set Min Quantity = 0 you will only get need to replenish when you have sale for more than stock.  

Using reordering rules and Replenishment / Rescheduling job is the recommendation for your process.

1
Avatar
Discard
Avatar
Jaideep
Best Answer

If the only route is ‘buy’ on the product then the easiest way would be to use the rules on delivery order operation. (Inventory >configuration> routes , if this menu is‘t there then configuration >warehouse, on the warehouse form click route smart button on top) 

On the delivery order operation, modify the ‘supply method‘ on the RULES to ‘take from stock, if unavailable trigger another rule’

2
Avatar
Discard
Avatar
Chris TRINGHAM
Best Answer

There's an OCA add-on that should help: ​Stock MTS+MTO Rule

This module adds a Make To Stock + Make to Order Route.

If you choose this, the creation of a purchase order will depend on the virtual stock. There are 3 cases :

  1. The virtual stock of the product is 0=> It will act exactly like the make to order route.
  2. The virtual stock is equal to the quantity ordered=> It will act exactly like a make to stock route
  3. The virtual stock is more than 0 but less than ordered quantity=> Some products will be taken from stock and a purchase order will be created for the balance . So it will act like both make to order and make to stock rule.
1
Avatar
Discard
Avatar
Alan Compere
Best Answer

Hi,
  When validating SO, a Delivery is created because of the route "deliver in one step" (in my case) and this route has only one  "PULL FROM" rule that does : 
"When products are needed in Partners/Customers, Delivery Orders are created from WH/Stock to fulfill the need."  open the rule → The supply method = take from stock...  Change it to "take from stock, if unavailable, trig another rule".
You can now create rules push / pull, combining with a reordering rules from product page : " If a product uses the Buy route, then a Request for Quotation (RFQ) is created when the reordering rule is triggered. If a product uses the Manufacture route, then a Manufacturing Order (MO) is created."
Take a look ate the buy route/rule, the available rules trigger various actions. If Odoo offers Push and Pull rules, others are also available. Each rule has an Action such as

  • Buy: when products are needed at the destination location, a request for quotation is created to fulfill the need.

I hope it will help you



1
Avatar
Discard
Filippo Agostinelli
Author

Thanks a lot!

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
Dealing with extra units received to inventory, and the interim inventory residuals? Solved
inventory odoo16features
Avatar
Avatar
1
Oct 25
2789
No rule has been found to replenish '[test_0001] test 1 ' in False. Verify the routes configuration on the product.
inventory routes
Avatar
Avatar
1
Apr 24
4469
Assign owner during inventory adjustment
inventory odoo16features
Avatar
0
Nov 23
1960
Inventory forecast not synchronized Odoo16
inventory odoo16features
Avatar
Avatar
1
Mar 23
3512
Push rules for multi steps internal transfer merging all validated transfer into one receipts in odoo 13
inventory routes
Avatar
0
Oct 22
4198
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