OCA / stock-logistics-availability

This repository contains modules to provide more information about product stock availability in terms of quantities (immediately usable, potential, unreserved ones, ...).
GNU Affero General Public License v3.0
7 stars 38 forks source link

Available and Potential not displaying correct qtys #18

Open teeling opened 6 months ago

teeling commented 6 months ago

I've used this set of modules in Odoo v9 with good results, but now when we're upgrading to v16 I get incorrect qtys in the Available and Potential fields from stock_available and stock_available_mrp.

To test the behaviour I created three products:

  1. Car - Storable, manufacturing route, BoM that includes one of each:
  2. Steering wheel, Storable, buy
  3. Engine, Storable, buy

I set the initial quantities for the products to: Car - qty on hand: 10 Steering wheel - qty on hand: 5 Engine - qty on hand: 3

I have stock_available and stock_available_mrp installed, and the setting "Include the production potential" set to "Quantity on hand".

Now I'd expect the product page for Car to display: On hand: 10 Forecasted: 10 Available: 13 Potential: 3

But instead, I get "Available: 3", which makes no sense, it should be On hand + Potential. In Odoo v9 it works like this, but in v16 it seems to be broken somehow. Any ideas?

github-actions[bot] commented 2 weeks ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.