odoo / odoo

Odoo. Open Source Apps To Grow Your Business.

Home Page:https://www.odoo.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue Printing Multiple Carrier Labels on Validation of Delivery/Return

derekwolfson opened this issue · comments

Impacted versions: V17.0
(CORRECTION 5/9/24 -- previously said 17.1 -- but we are on 17.0)

Steps to reproduce:
This assumes user is using the EasyPost connector -- I have no idea if this issue persists to other shipping connectors.

There are two failures workflows:

First: multipackage shipments (requires toggling production environment for EasyPost)

  1. Setup print on validate for "carrier labels" for delivery orders
  2. Setup relevant printer on IOT for Carrier Labels (virtual in my case)
  3. Create a single delivery order with two packages
  4. Validate the delivery

Second: validating multiple orders at once

  1. Setup print on validate for "carrier labels" for delivery orders
  2. Setup relevant printer on IOT for Carrier Labels (virtual in my case)
  3. Create two deliveries using different delivery addresses
  4. From the list view -- validate both deliveries

Current behavior:
In both first and second setups, Odoo prints two labels but they are duplicates. On validation of multiple package order you get multiples of the second label. On multiple orders at once (second scenario) you get 2x of the second label.

The labels are properly logged on each order - but the automated print on validation doesn't print them.

Expected behavior:
Print the correct labels for each order -- on multiple shipment orders -- print two labels (1 of 2) and (2 of 2). For multiple orders at once -- print the correct labels for each order.

Video/Screenshot link (optional):
Here's the video of the behavior:
https://youtu.be/TR6CkrIDzPI

And here's my configuration settings:
https://youtu.be/-6c4871qjZg

Support ticket number submitted via odoo.com/help (optional):
3907487

I should note this problem persists on both 17.0 and 17.1

NOTE: I actually only tried this on 17.0
@vava-odoo may want to change labels