Contributors mailing list archives
Re: Sale stock: widget qty_to_dateby
Camptocamp SA, Joël Grand Guillaume
Agreed with you Maxime !
On Wed, Mar 17, 2021 at 8:37 PM Sandip Mangukiya <firstname.lastname@example.org> wrote:
👍On Wed, Mar 17, 2021 at 12:22 PM Maxime Chambreuil <email@example.com> wrote:Here you goOn Wed, Mar 17, 2021 at 10:56 AM Nhomar Hernández <firstname.lastname@example.org> wrote:El mié, 17 de mar. de 2021 a la(s) 09:32, Maxime Chambreuil (email@example.com) escribió: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.You are right... In fact we can not do that because then if you have let's say 10 stores you will need 20 unlinked elements to manage for example RMA for each one of them?I think you should include in your ticket the fact that it was a supported feature (Exclude locations, it does not matter the reason).In fact the rent warehouse does not make sense either to be outside (but I did not work with that module yet).Short term solution, we patched the stock and sale_stock modules to use the Stock location, but there are risks of breaking somethingWhat do you think? What's your opinion?I think it is a bug, May you please include the patch in a PR to odoo/odoo?Then we can discuss the technical topic... I would love to give opinions there because that's one of the key features we use to arrange medium/big warehouses.Regards--