Cannot create emergency requisition when its a report-only period

Description

I cannot create an emergency requisition when its a report-only period.

Steps to reproduce:

  1. Log in as srmanager3

  2. Initiate an emergency requisition for Family Planning current period (August is a report-only period)

  3. Add products and requested quantities and submit

  4. Log in as smanager3 to authorize

  5. When viewing the requisition, there are no columns for requested quantity and remarks, there is also no total cost

Expected behavior:
I am able to create an emergency requisition that follows the normal requisition workflow

during a report-only period

Environment

None

Activity

Show:
Joanna Bebak
August 13, 2018, 11:52 AM

I see that you didn't add the changelog for this ticket. Please do so if in case of such changes it is necessary.

Joanna Bebak
August 13, 2018, 11:57 AM

I also see that a console error occurs after initiating an emergency requisition as srmanager3, and e.g. scrolling the page. Can it be related to your changes?

Joanna Bebak
August 13, 2018, 12:11 PM

I finished testing, and the issue was fixed. Please only tell me what about this missing changelog and the console error because I don't know what to do with this ticket.

Mateusz Kwiatkowski
August 13, 2018, 12:15 PM

I think that changelog entry is not required because report only requisitions were introduced after latest release.
About this error in console I'm sure that it is not related to my changes, it was there for all emergency requisitions. I cannot reproduce this console error so can you provide some reproduction steps? I think if it still persists we can create small bug to fix it after release if it does not affect functionality.

Joanna Bebak
August 13, 2018, 12:32 PM

OK, I see. It's very strange, but I tried to reproduce this console error, and now it doesn't occur anymore... In order for it to occur, I only had to initiate an emergency requisition for FP as srmanager3 - after clicking the "Proceed" button, the console error started appearing, and re-appeared with each scroll, when adding products, etc. - with each action. In that case, I'll close this ticket.

Done

Assignee

Mateusz Kwiatkowski

Reporter

Sam Im

Labels

Story Points

2

Time tracking

0m

Time remaining

7h

Components

Sprint

None

Fix versions

Affects versions

Priority

Blocker
Configure