Skip to content

Commit cfbe3c7

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

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
@@ -57,7 +57,7 @@ def _get_price_from_picking(self, total, weight, volume, quantity):
5757
price_dict = self._get_price_dict(total, weight, volume, quantity)
5858
untaxed_in_dict = "untaxed_price" in price_dict
5959
test = False
60-
rule_line = False
60+
rule_line = self.price_rule_ids.browse()
6161
for line in self.price_rule_ids:
6262
apply_product_domain_char = line.apply_product_domain
6363
if apply_product_domain_char and self.order_id:

0 commit comments

Comments
 (0)