Commit 115f8a60 by Damien Moulard

fix possible bug in reception with a new_shelf_price set

parent 7bf1b1be
Pipeline #1377 passed with stage
in 1 minute 29 seconds
...@@ -909,6 +909,8 @@ function editProductInfo (productToEdit, value = null, batch = false) { ...@@ -909,6 +909,8 @@ function editProductInfo (productToEdit, value = null, batch = false) {
} }
firstUpdate = true; firstUpdate = true;
} else if (productToEdit.old_price_unit == newValue) {
productToEdit.new_shelf_price = null;
} }
productToEdit.price_unit = newValue; productToEdit.price_unit = newValue;
......
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