Cannot print Submitted Physical Inventory report after adding a new product

Description

While executing OLMIS-3253, I noticed that after adding a product, submitting a Physical Inventory and trying to print the report, the error is thrown.

Reproduction steps:
1. Log into the application as srmanager2
2. Navigate to Stock Management -> Physical Inventory
3. Start Family Planning program
4. Add new product (Levora)
4. Fill in all required values, then submit and confirm the form with signature
5. Click 'Print' button on the modal

Result:
The error page is visible.

Expected result:
The report with submitted physical inventory is printed.

The error does not occur when submitting a form without adding a new product.

Environment

None

Status

Assignee

Paulina Buzderewicz

Reporter

Paulina Buzderewicz

Story Points

1

Time tracking

12h

Components

Sprint

None

Fix versions

Priority

Critical
Configure