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
    • Artificial Intelligence
    • 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ó
    • Property Management
    • 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
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

Buggy replenishment report

Subscriure's

Get notified when there's activity on this post

This question has been flagged
transferroutesReorderingRulereplenishmentodoo18
1 Respondre
1194 Vistes
Avatar
labmotionsystems, jef uytterhoeven

Hi All, 

We have ben having a lot of issues with our replenishment report. And I already fixed A few things. 
However the following problem seems a little more like a bug in odoo18. 


the picture we have 2 reasons for buying stock.

  • 1 is for serial manufacturing this should be ordered via the replenishment report.
  • 2 is custom projects we want to keep this stock completly seperate from the serial manufacturing. And buy these by just creating PO's

So I created the following location setup

WH/input → for receiving all goods

WH/cages → This is for the custom projects. Each project gets there own cage here

WH/inventory/stock → all goods for manufacturing should go here after passing by wh/input

WH/inventory/... has other locations like pre-production and production.


All my reordering rules look wat WH/inventory so input and the cages are excluded.

Now my problem is that when I create a RFQ/PO from the order button in the replenishment rapport it creates the stock transfers to get it to the correct location from that PO. However when I change the PO or cancel the PO it will ignore the already created transfers. Resulting in that they just stay open indefinetly. But these also mess with the reordering rules since odoo still thinks those are comming from input to stock.


In my opinion odoo should update those transfers when the PO that was created because of these transfers has changed.

0
Avatar
Descartar
Avatar
Jainesh Shah(Aktiv Software)
Best Answer

Hi labmotionsystems, jef uytterhoeven


When you confirm a PO from the replenishment report, Odoo creates a chained stock transfer:


Vendor → WH/Input → WH/Inventory/Stock

 

These two transfers are linked via a procurement group. However when you modify or cancel the PO afterwards, Odoo only updates or cancels the first transfer (Vendor → WH/Input) and leaves the second transfer (WH/Input → WH/Inventory/Stock) untouched and open.

This causes two problems exactly as you described:

  • The open transfers pile up indefinitely and clutter your operations
  • The reordering rules still count those open transfers as incoming supply, so replenishment thinks stock is on its way when it is not
Fix 1 — Change the Route to Use a Single Step Reception

Consider changing the route for manufacturing replenishment to receive directly into WH/Inventory/Stock instead of going through WH/Input. This eliminates the chained transfer entirely and means the PO receipt goes straight to the correct location:

Vendor → WH/Inventory/Stock  (single step, no intermediate transfer)

 

Go to Inventory → Configuration → Warehouses and set incoming shipments to Receive goods directly for the manufacturing route. You can keep the two-step route only for the cage/project flow.

Fix 2 — Add a Server Action to Automate the Cleanup

Create an automated action that cancels downstream transfers when a PO is cancelled: 

Plain Text

# Automated Action on purchase.order # Trigger: When record is updated # Before update filter: state != 'cancel' # Filter: state = 'cancel'  for order in records:     domain = [         ('origin', 'like', order.name),         ('state', 'in', ['confirmed', 'assigned', 'waiting']),         ('location_dest_id.complete_name', 'ilike', 'WH/Inventory')     ]     transfers = env['stock.picking'].search(domain)     transfers.action_cancel()

 

This automatically cancels any open internal transfers going to WH/Inventory when the originating PO is cancelled.

Fix 3 — Cancel Downstream Transfers Manually When Cancelling a PO

When you cancel or significantly change a PO:

  1. Open the PO and note the Source Document reference
  2. Go to Inventory → Operations → Transfers
  3. Filter by Source Document matching your PO reference
  4. Cancel all transfers that are still in Ready or Waiting state

This clears the queue and lets the reordering rules recalculate correctly.

 

If you have any questions, feel free to reach out.

Hope this helps!

 

Thanks and Regards,

Email: odoo@aktivsoftware.com

0
Avatar
Descartar
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
Odoo 18 replenishment rules
routes replenishment odoo18 Reordering
Avatar
Avatar
1
de març 26
1196
Negative Forecasted items not appearing for Replenishment Solved
ReorderingRule replenishment
Avatar
Avatar
1
de febr. 25
5687
No rule has been found to replenish XXXX Verify the routes configuration on the product.
routes ReorderingRule
Avatar
Avatar
2
d’ag. 25
14681
1 product 2 sources replenishment rule
ReorderingRule replenishment
Avatar
0
de març 23
2607
Visibility Days not functioning as documented in Replenishment Solved
ReorderingRule replenishment visibilitydays
Avatar
Avatar
2
de jul. 25
4291
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 Svenska ภาษาไทย 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