Skip to content

Commit cdd9764

Browse files
committed
Merge PR #1000 into 16.0
Signed-off-by pedrobaeza
2 parents 1f24cad + 1cdfb80 commit cdd9764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

delivery_purchase/models/purchase_order.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _compute_delivery_price(self):
3030
if delivery_lines:
3131
item.delivery_price = sum(delivery_lines.mapped("price_unit"))
3232
else:
33-
item.delivery_price = item.carrier_id.purchase_rate_shipment(self)[
33+
item.delivery_price = item.carrier_id.purchase_rate_shipment(item)[
3434
"price"
3535
]
3636

0 commit comments

Comments
 (0)