Add comment about ShipmentServiceOptions being wrongly documented

This commit is contained in:
Cédric Krier committed 2023-06-01 15:49:19 +02:00
1 parent 0df1221b69
commit 7e7fd51dd1
1 file changed
+2
@@ -391,6 +391,8 @@ class CreateShippingUPS(Wizard):
for p in packages]
options = self.get_service_options(shipment)
if options:
# options are set on package instead of shipment
# despite what UPS documentation says
for pkg in packages:
pkg['ShipmentServiceOptions'] = options
return {