We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f24cad + 1cdfb80 commit cdd9764Copy full SHA for cdd9764
delivery_purchase/models/purchase_order.py
@@ -30,7 +30,7 @@ def _compute_delivery_price(self):
30
if delivery_lines:
31
item.delivery_price = sum(delivery_lines.mapped("price_unit"))
32
else:
33
- item.delivery_price = item.carrier_id.purchase_rate_shipment(self)[
+ item.delivery_price = item.carrier_id.purchase_rate_shipment(item)[
34
"price"
35
]
36
0 commit comments