Cache Stock Management data required to make Adjustments, Issue, and Receive
We need to cache Stock Management data required to make Adjustments/Issue/Receive. StockCardSummaries, ValidReasons, ValidSources and ValidDestinations should be cached on login.
I’ve checked that a user without a home facility or STOCK_CARDS_VIEW right is able to log into the application (used psupervisor and administrator). Functional tests also passed so I’m moving the ticket to Done.
A condition has been added to check whether the user has the appropriate permissions and tests for this code
I’ve reopened the ticket because functional tests caught the issue when a user does not have STOCK_CARDS_VIEW right. In that case, a user is getting an error after logging into the system.