You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting a percentage discount via the 'sale.order.discount' wizard and resetting it to 0, the value of 'discount_subtotal' is not updated correctly
To Reproduce
Affected versions: 18.0
Steps to reproduce the behavior:
Click on the "Discount" button in the sales order
Apply a discount "On all Order Lines" with 1%
discount_subtotal is updated
Click on the "Discount" button in the sales order
Apply a discount "On all Order Lines" with 0%
discount_subtotal stays on the value from step 2
Expected behavior
The field resets to 0, because no discount is present