Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Pull rules from same destination based on conditions

Subscriure's

Get notified when there's activity on this post

This question has been flagged
domain_filterroutes
2 Respostes
1153 Vistes
Avatar
Pablo Perugini

Hi, we are implementing Odoo so I'm a newbie here....


I'm trying to prevent a pull rule from triggering in a route based on the virtual quantity available in the warehouse. I read that this might be achievable using domain filters (maybe I missunderstood)

What I want to do is create a route with two pull rules originating from the partners/customers location. The first rule, with higher priority, should try to take stock from warehouse A. If not available in Warehouse A, maybe it will trigger  the second rule from warehouse B.

This approach would allow me to reduce the number of routes and make the sales process more user-friendly without using virtual warehouses.


The route I want to achieve would something like this (simplified to explain what I need)

A/Stock -> A/Packing -> A/Out -> Partners/Customers

But if there is no stock in A/Stock, execute:

B/Stock -> B/Packing -> A/Out -> Partners/Customers


This is because I want to transfer already packed products to avoid reception process and I don't want to sales people to select from too many routes (We have several warehouses) 


Can this be achievable? 

0
Avatar
Descartar
Pablo Perugini
Autor

Thank you, Jaideep, your explanation was very clear. I have one more question for you.

Using the logic you showed me, is there a way to auto-cancel the items from order WH/PICK/00002 that were requested from WH2 to avoid accidentally duplicating the delivery?

Jaideep

The operation would not reserve the items that are not available, so I guess the only way to duplicate pick would be to manually change the done qty.

The case in your post might be representing only 1 of many scenarios. I would believe in practice a sales order might have multiple products with availability across WHs or maybe partial quantities of a product available in main WH.

These might require decisions on how and where these orders would be fulfilled prior leading to canceling the operation.

Jaideep

If I understand correctly your intention is to modify the demand qty of the product in the 1st operation. Am not certain if that is possible.

Avatar
Jaideep
Best Answer

Yes, it is possible. 

The latest version accomplishes multi step deliveries using Push rules, ensuring the subsequent operations are created on based on the arrival of products to destination location, also there is flexibility to change destination location on the operations. 

1.Enable 3step delivery on both the WHs Inventory > Configuration > Warehouses

2.On the rule WH: Stock → Customers (main WH) change supply method to Take from stock if unavailable trigger another rule

3.Create new route WH2 to WH 

Pull from - WH2/stock to WH/Stock

Operation - Warehouse 2: Pick (this is critical so a Pick is created in WH2 from stock to Packing zone)

Supply method - In this example take from stock, but you would add multiple rules eg. if stock not in WH2, then pull from WH3 etc..

4. Select this route on the product or product category.

On confirming the sales order (where products are not available in WH) 2 routes would be created. a. Pick in WH from WH/stock to WH/packing locations and b. Pick in WH2 from WH2/Stock to WH2/packing. The 1st operation Pick in WH can be cancelled. Subsequent routes would be created based on the destination locations selected. In practice the product route could be WH2/Stock -> WH2/Packing -> Wh2/Output -> Customer as well

Here is an example of a sale

In the above example, route was as asked in your post.

Please do treat this above as a proof of concept and not a final solution which would I believe need to be specific to your business circumstances.

0
Avatar
Descartar
Avatar
Pablo Perugini
Autor Best Answer

Exactly, for example, if I create a sales order for 10 units and there are 5 in warehouse A and 2 in warehouse B, I would like a picking order to be generated for 8 units in A and another for 2 units in B. Then, when processing the 5 units from A, a backorder for 3 units would be generated.

0
Avatar
Descartar
Jaideep

The demand qty on an operation can be modified by unlocking. This option is available in the action menu -- (gear icon top left on the operation)

In your example above 2 pick operation is triggered with demand qty 10 in WH1 and demand 5 in WH2. Unlock these 2 operations and modify demand to 8 in WHA and 2 in WHB

Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
MO Pick BOM Components Issue
routes
Avatar
0
de maig 25
1675
Route for 2 product lines
routes
Avatar
Avatar
1
de jul. 24
2375
Dynamic Domain for states
domain_filter
Avatar
Avatar
1
de maig 24
3428
Odoo v16 domain, how to create a domain by user.company_id
domain_filter
Avatar
Avatar
1
de nov. 22
6049
Filtering domain
domain_filter
Avatar
Avatar
2
de jul. 22
4544
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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