myparcelnl / prestashop

PrestaShop module to integrate with MyParcel NL and BE
https://developer.myparcel.nl/nl/documentatie/11.prestashop.html
10 stars 5 forks source link

[BETA]: Printing multiple labels requires constant page refreshes #265

Open PollyKant opened 1 month ago

PollyKant commented 1 month ago

Version check

MyParcelNL version

v4.0.0-beta.3

PrestaShop version

8.1.7

PHP version

8.1

What went wrong?

When working with the latest version of this module there's a need to refresh page after printing a single label for an order. It's impossible to print multiple in a row, making this process extremly slow. No such problem existed in previous versions.

Reproduction steps

  1. Navigate to orders page.
  2. Click on "Export" in at least two orders, if none has been exported already.
  3. Click on dropdown list in MyParcelNL column, click on "print" in dropdown menu and generate label for one of those orders.
  4. Click on dropdown list in MyParcelNL column, click on "print" in dropdown menu and generate label for the other order.
  5. Label is not generated.
  6. Refresh page.
  7. Attempt again to print label for order from step 5.
  8. Label is generated successfully.

Relevant log output

No response

Additional context

No response