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

Auto generating a purchase order when a product with quantity 0 is ordered

Subscribe

Get notified when there's activity on this post

This question has been flagged
automatedpurchase_order
3 Replies
14255 Views
Avatar
Ahmed Ababneh

Hi,

When the product has quantity on hand equal to zero, and customer orders this product, then, we need Odoo to generate a purchase order automatically for this product.

Odoo is not generating the automatic PO. We have Odoo 8.

As for an example, I created a test product. I ticked "Buy" check box, and unticked the"Make to order" check box. I added a vendor (has an address) on the product as follows:

Supplier: Old Stocks

Delivery Lead Time: 0

Minimal Quantity: 1.00

I also created a reordering rule for this product:

Name: PO/8406724

Product: [9781452555508] 0.0.0.0 Would Our Legacy Survive?

Warehouse: Amman Stock

Location: AmmWH/Stock

Minimum Quantity: 5.000

Maximum Quantity: 20.000

Quantity Multiple: 1.000

I made a purchase order for this product, and transferred the delivery order. The quantity on hand became 4 (less than the min. quantity in the reordering rule). Run the schedulers from Warehouse -> Run Schedulers. However, the RfQ was not created.

What should I do to get an RfQ auto-generated, when the there is sales order for a product with "Quantity on hand" equal to zero?

Thanks you :)

1
Avatar
Discard
Ahmed Ababneh
Author

By the way, we have about 10 million products

Serpent Consulting Services Pvt. Ltd.

Make sure your product is of type "Stockable Product".

Ahmed Ababneh
Author

Yes, it is stockable

Zbik

Multicompany environment? Module procurement_jtt instaled or not? Module procurement_jtt_stock instaled or not?

Avatar
E.M.
Best Answer

I faced the same issue as we wanted to automatically generate POs in draft. Weused the following configuration:


We set up a reordering rule with a minimum quantity of 0. This was done for every product

By doing that, when a customer orders something which exceeds available stock, your stocked amount will be less than zero, triggering the reordering rule.

Additionally:

- the item needs to have a defined supplier, otherwise no purchase order will be generated.

- not sure if the item needs to be stockable

- you have to execute the planner in the warehouse menu (there is a scheduler that can be activated to execute that planner every m minutes).

Maybe there is a way to do something that might apply to all products, but I do not know how to do that (it would be interesting).

Any further automation or group configuration you might achieve, please share. Having to add a restock rule for every product is cumbersome.

Hope this helps,

1
Avatar
Discard
Ahmed Ababneh
Author

Thanks my friend .. So, where can I exactly find the planner in the warehouse menu? I can only see "Schedulers->Run Schedulers" and "Schedulers>Compute Stock Minimum Rules Only" options.

E.M.

Settings -> Technical -> Automation -> Planned Action -> Run mrp scheduler. It is disabled by default. However I wonder how that could be triggered automatically everytime a new sales order is generated.

E.M.

And to execute it manually it should be schedulers-> compute stock minimum rules only

Avatar
Felipe Llodrá
Best Answer

Hi, we are facing the same issues running ODOO CE 13.

What si very strange is that we are also following all the intructions of the documentation. However no PO is being generated after the minimum stock is reached... Can this be a bug?? I'm starting to think this is the real problem... any further help would be much appreciated. And no, this is not to be solved by buying or installing a third party module.

0
Avatar
Discard
Paresh Wagh

Check whether it got added to an existing RFQ. Odoo searches for open RFQ's for the vendor and adds it to it if one is open. If an open RFQ is not found for the vendor, it will create a new RFQ.

Felipe Llodrá

Thanks Paresh, we are facing an issue here not related to ODOO but to a custom extension. We are trying to solve the problem. But all on all Odoo works correct. Thanks for your input.

Avatar
ITStore
Best Answer

Hello All,

Get this app for all in one solution:Make To Order For Required Stock


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
Scheduled Purchase
automated purchase_order scheduled
Avatar
Avatar
2
Dec 22
2142
Trying to automatically update analytic distribution in purchase order Solved
automated
Avatar
Avatar
Avatar
3
Jun 25
3589
importing Purchase Order shown as a RFQ Solved
purchase_order
Avatar
Avatar
Avatar
2
May 25
2922
Create a PO without adding products to stock
purchase_order
Avatar
Avatar
Avatar
Avatar
3
Dec 24
8586
How do I replace the default Purchase Order number? Solved
purchase_order
Avatar
Avatar
1
Jul 24
4340
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