Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • 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 Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and 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
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Help

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

How to automatically return surplus stock from Pre-Production to Stock after MO consumption?

Odoberať

Get notified when there's activity on this post

This question has been flagged
production
2 Replies
770 Zobrazenia
Avatar
Carlos Ardila

Hi everyone,

I’m struggling with a specific case in Odoo (v18, Enterprise on Odoo.sh) and I’d like to know if anyone has managed to configure this without custom development.

👉 Scenario:

  • We have a location WH/Pre-Production.
  • When a Manufacturing Order (MO) is launched, Odoo creates a picking WH/Stock → WH/Pre-Production (Pick Components).
  • In practice, the forklift driver always moves the full box (e.g. 50 units), even if the MO only requires 10.

👉 What happens now:

  • After the MO is validated, Odoo consumes only the 10 units.
  • The remaining 40 units stay in Pre-Production as free stock.
  • The next MO ignores those 40 and triggers a new picking from WH/Stock, leaving leftovers piling up in Pre-Production.

👉 The logic I need:

  • If in Pre-Production we have:
    • On Hand > Forecasted (i.e. there is more stock than what is reserved to be consumed),
    • then the difference should be considered surplus and should be automatically (or semi-automatically) pushed back to WH/Stock.

👉 What I tried:

  • I created a second operation type Return (WH/Pre-Production → WH/Stock).
  • Then I added a push rule with conditions like:
    • Forecasted Quantity > 0
    • On Hand Quantity > 0
  • But Odoo rules only allow comparing against fixed numbers, not against each other.

👉 Question:

Has anyone found a standard way to handle this kind of “return of surplus to stock”?

  • Is there a way to configure routes/rules so that Odoo detects On Hand > Forecasted and pushes back the difference?
  • Or do I really need a Server Action / custom module to implement this logic?

Any advice or shared experience would be super helpful 🙏

0
Avatar
Zrušiť
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

Changing the rule to “Take From Stock, if unavailable, Trigger Another Rule” will solve the part where Odoo ignores leftovers in Pre-Production. With this configuration, the next Manufacturing Order will first consume any stock already available in Pre-Production (such as the extra 40 units) and will only trigger a new transfer from WH/Stock if there is a shortage.

However, this does not automatically return surplus stock from Pre-Production back to WH/Stock. The extra quantities will stay in Pre-Production until another MO uses them. If your process allows Pre-Production to act as a buffer, this setup is sufficient. If the requirement is to always clear Pre-Production after each MO, you’ll still need a return flow, either manual or through a small custom automation.

* https://www.cybrosys.com/blog/how-to-set-up-efficient-putaway-rules-in-odoo-18-inventory

* https://www.youtube.com/watch?v=SQJ79Bkp-rY

Hope it helps

0
Avatar
Zrušiť
Avatar
Ray Carnes (ray)
Best Answer

What happens when you modify the Pre-Production --> Production Rule?

Instead of "Trigger Another Rule" change it to "Take From Stock, if unavailable, Trigger Another Rule":


Wouldn't you rather Odoo look in Pre-Production and take what the forklift driver left there, triggering another Picking only if/when needed?

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
Workshop setup time
production
Avatar
Avatar
1
júl 25
1005
Odoo documentation - V10, manufacturing - routings in BoMs
production
Avatar
0
apr 17
3151
MRP: assigning employees to work orders
production
Avatar
Avatar
Avatar
Avatar
3
mar 15
9057
Openerp partial Production
production
Avatar
0
mar 15
4288
Why is it possible to produce without inventory?
inventory production
Avatar
Avatar
1
aug 24
2159
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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