Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Food & Hospitality
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Guest House
    • Distribuidor de bebidas
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consulting
    • Accounting Firm
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Trades
    • Handyman
    • Hardware y asistencia informática
    • Solar Energy Systems
    • Zapatero
    • Servicios de limpieza
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

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

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
production
2 Respuestas
768 Vistas
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
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

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
Descartar
Avatar
Ray Carnes (ray)
Mejor respuesta

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
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Workshop setup time
production
Avatar
Avatar
1
jul 25
1003
Odoo documentation - V10, manufacturing - routings in BoMs
production
Avatar
0
abr 17
3148
MRP: assigning employees to work orders
production
Avatar
Avatar
Avatar
Avatar
3
mar 15
9055
Openerp partial Production
production
Avatar
0
mar 15
4287
Why is it possible to produce without inventory?
inventory production
Avatar
Avatar
1
ago 24
2152
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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