Skip to content

Commit 67538f2

Browse files
Update delivery_price_product_domain/models/delivery_carrier.py
Co-authored-by: Denis Roussel (ACSONE) <rousseldenis@users.noreply.github.com>
1 parent 6116a42 commit 67538f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

delivery_price_product_domain/models/delivery_carrier.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def recompute_price_available(self, apply_product, price_dict, untaxed_in_dict):
5252

5353
def _get_price_from_picking(self, total, weight, volume, quantity):
5454
"Find price rule matching SO base on apply_product_domain"
55-
if self.free_over and total >= self.amount or not self.price_rule_ids:
55+
if (self.free_over and total >= self.amount) or not self.price_rule_ids:
5656
return 0.0
5757
price_dict = self._get_price_dict(total, weight, volume, quantity)
5858
untaxed_in_dict = "untaxed_price" in price_dict

0 commit comments

Comments
 (0)