It seems that the Physical Inventory Print report is added as demo data in Stock Management service instead of in migration. Look at jasper_templates.csv
This could be fine if this report would not be used on the Stock Management UI. When someone is submitting Physical Inventory browser prompts you with modal that asks you about printing a report. When the user accepts then he is prompt with this error:
Of course, this occurs if demo-data is not loaded.
Thank you very much, . I think we should contribute the fix to the core project then, and will create a ticket in Angola's backlog against which to charge the time.
please verify if printing physical inventory works from modal after submitting physical inventory.
1. I started testing the ticket and noticed one minor issue occurring on both browsers, though I'm not sure if related to this ticket: The expiry date of Levora MA2017 in the printed inventory is one day later (30/01/2019) than on the UI (29/01/2019). Please look at the attached screenshots:
The same issue occurs also for the Essential Meds and EPI programs.
2. I also noticed that the hour in the printed PDF is two hours earlier than in reality - e.g. "Submitted into system on 05/04/2019 07:50:23" was visible when I submitted the inventory at 9:50.
Please take a look at those issues and tell me if any of them are related to your changes. I suppose that they might be related also to the tickets that are being worked on by the Mind the Gap team (OLMIS-4408, and OLMIS-6179) but I may be wrong.
- this ticket deals only with moving the report from demo-data to bootstrap data. Nothing has changed about the report logic. If there are issues with the report itself, please check with the Gap team if you suspect it may be connected with their changes or create a new ticket.
Here, we just want to make sure the report is still here and that it prints.
OK, I see. I'll move the ticket to Done, then.