Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Sale stock: widget qty_to_date

by
Open Source Integrators, Maxime Chambreuil
- 17/03/2021 16:29:26
Hello everyone,

We recently went live with a customer on Odoo 14.0. On sales order lines, Odoo added this widget with the green/red graph icon and the quantity available/forecasted.

The widget assumes that all the products in the warehouse are available for sales. It takes the view location "WH" to compute the quantities available/forecasted and provides that information to sales people.

In previous versions, it was documented that the "Location Stock field on the warehouse shows the place of products available for delivery to a customer directly from this warehouse. Availability is given by all the products in that location and any child locations."

This was the reason locations like Output, RMA, Repair or any use case where a company store items that are not for sales were NOT created under "Stock", so that they would not show up as available to salespeople.

I reported an issue to Odoo support but their answer is to create a location outside of any warehouse using the Rental location as an example.

This sounds terribly wrong to me and disconnected from the reality.

Short term solution, we patched the stock and sale_stock modules to use the Stock location, but there are risks of breaking something.

What do you think? What's your opinion?

MAXIME CHAMBREUIL
MANAGING DIRECTOR LATAM
O: 1.855.877.2377 EXT. 710
M: 602.427.5632
E: MChambreuil@OpenSourcelntegrators.com
P.O. BOX 940, HIGLEY, AZ 85236

Follow-Ups