CLONE - Explanation field on Non Full supply should not be mandatory

Description

User Story
As a storeroom clerk, I want to add non-full supply products to my Requisition without providing an explanation, so that I can quickly add non-full products that I regularly re-order at my facility.

Explanation
When adding non-full supply products, the Explanation field on the pop up window and the Requested Quantity Explanation field in the requisition form should not be mandatory. (Screenshots attached.) Users don't always have an explanation to make a full supply order because this is a normal monthly order. In other words, in this implementation, some facilities request a particular non-full supply product every single month, so they do not want the field to be required.

Tech Discussion
It appears that the API code treats this as an optional, non-required field. Only the UI code is making it required. See the relevant code in validateNonFullSupplyLineItem(). Based on that, an implementation could override the core behavior with a simple UI change (a 1-file fork in the UI Javascript code) without having to do a more complex API extension/customization. More tech testing/confirmation of this would be good, and if we do decide to make it a configurable setting, more tech discussion of the proper approach would be needed. TBD

Assignee

Nikodem Graczewski

Reporter

Joseph Mtenje

Labels

Story Points

1

Time tracking

8h

Sprint

None

Fix versions

Priority

Minor
Configure