Console error after enabling the Print button on the Stock on Hand screen

Description

During exploratory tests, I noticed that a console error is returned after one enables the "Print" button on the "Stock on Hand" screen and clicks on it.

Reproduction steps:

  1. Log into the application as administrator.

  2. Navigate to Stock Management > Stock on Hand.

  3. With the use of the Inspector tool, enable the "Print" button.

  4. Click the "Print" button.

  5. The console error from the screenshot is returned.

Expected behavior:

  • Instead of the error, "Bad Request" should be returned.

  • An error message stating that it is impossible to print the stock on hand when the products are not visible should appear.

Environment

None

Assignee

Unassigned

Reporter

Joanna Bebak

Labels

Epic Link

Components

Priority

Minor
Configure