-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX - Repair the replenishment list #29336
FIX - Repair the replenishment list #29336
Conversation
…/dolibarr into FIX_Replenishing_list
I solved the problem this way, is this the best solution?
|
The $listofqualifiedwarehousesid is a security protection. It is list of warehouse allowed according to the multicompany we are connected to. |
With these modifications everything is good and works correctly while maintaining the security test on the entity's warehouses.
|
Looks better. Can you confirm that when product_stock is empty for product or just into non zllowed or not the filtered watehouse, the line of product is returned (but qty will be viewed as 0) |
Yes I confirm this, however the sorting on the selected warehouse only happens when the pse.desiredstock is >0 |
FIX - Repair the replenishment list
Repair the replenishment list which was not sorted correctly with the warehouses