Price list is not computed on quantity change when sale_discount module is activated
With sale_discount module activated price list is only get computed when product is assigned to sale line and not if we change the quantity.
Steps to reproduce it
- Create a price list for a product A with quantity 10 and formula unit_price * 0.5
- Create a sale with the price list created before
- Add a sale line and choose the product A
- Set 10 to quantity
- Any changes occur
To get the correct price computed you have to keep quantity to 10 and remove product A and reassign it.
It seems that with sale_discount module only when the product is set to sale line is when it recompute the price list.