Get sale price merge prices from products have price fix and products have sum of the products in the pack

This commit is contained in:
Raimon Esteve 2018-11-09 13:10:23 +01:00
parent 1b15a35858
commit 63419db5c4
1 changed files with 3 additions and 2 deletions

View File

@ -115,8 +115,9 @@ class Product:
currency, round=False)
if todo_products:
prices = super(Product, cls).get_sale_price(todo_products,
quantity)
prices.update(super(Product, cls).get_sale_price(todo_products,
quantity))
return prices