Commit 9dbab946 by François C.

HOTFIX : fully set product to 0 when apply supplier shortage

parent 71e4b8bb
Pipeline #2423 passed with stage
in 1 minute 25 seconds
......@@ -1085,6 +1085,7 @@ function set_supplier_shortage(row, product, from_processed = false) {
product.old_qty = product.product_qty;
}
product.product_qty = 0;
product.package_qty = 0;
// Step 2: for consistency purposes, updated products need these fields to be set
} else {
if (!from_processed) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment