We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6116a42 commit 67538f2Copy full SHA for 67538f2
delivery_price_product_domain/models/delivery_carrier.py
@@ -52,7 +52,7 @@ def recompute_price_available(self, apply_product, price_dict, untaxed_in_dict):
52
53
def _get_price_from_picking(self, total, weight, volume, quantity):
54
"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:
+ if (self.free_over and total >= self.amount) or not self.price_rule_ids:
56
return 0.0
57
price_dict = self._get_price_dict(total, weight, volume, quantity)
58
untaxed_in_dict = "untaxed_price" in price_dict
0 commit comments