Cache Stock Management data required to make Adjustments, Issue, and Receive

Description

We need to cache Stock Management data required to make Adjustments/Issue/Receive. StockCardSummaries, ValidReasons, ValidSources and ValidDestinations should be cached on login.

Activity

Show:
Klaudia Pałkowska
January 13, 2021, 1:53 PM

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.

Aleksandra Sołtys
January 13, 2021, 8:02 AM

A condition has been added to check whether the user has the appropriate permissions and tests for this code

Klaudia Pałkowska
January 12, 2021, 2:34 PM

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.

Done

Assignee

Paulina Buzderewicz

Reporter

Paulina Buzderewicz

Labels