Skip to content

Commit 0f171db

Browse files
fixup! [MIG] delivery_postlogistics: Migration to 18.0
1 parent 4461794 commit 0f171db

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

delivery_postlogistics/models/stock_picking.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ def attach_shipping_label(self, label):
6969
if "default_type" in context_attachment:
7070
del context_attachment["default_type"]
7171
return (
72-
self.env["postlogistics.shipping.label"]
73-
.with_context(**context_attachment)
74-
.create(data)
72+
self.env["shipping.label"].with_context(**context_attachment).create(data)
7573
)
7674

7775
def _set_a_default_package(self):

test-requirements.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
vcrpy
2-
odoo-addon-delivery_carrier_option @ git+https://github.com/OCA/delivery-carrier.git@refs//pull/900/head#subdirectory=delivery_carrier_option
3-
odoo-addon-delivery_carrier_info @ git+https://github.com/OCA/delivery-carrier.git@refs//pull/936/head#subdirectory=delivery_carrier_info
2+
odoo-addon-delivery_carrier_option @ git+https://github.com/OCA/delivery-carrier.git@refs/pull/900/head#subdirectory=delivery_carrier_option
43
odoo-addon-delivery_carrier_package_info @ git+https://github.com/OCA/delivery-carrier.git@refs/pull/983/head#subdirectory=delivery_carrier_package_info
5-
odoo-addon-delivery_carrier_shipping_label @ git+https://github.com/OCA/delivery-carrier.git@refs//pull/938/head#subdirectory=delivery_carrier_shipping_label
4+
odoo-addon-delivery_carrier_shipping_label @ git+https://github.com/OCA/delivery-carrier.git@refs/pull/938/head#subdirectory=delivery_carrier_shipping_label

0 commit comments

Comments
 (0)