We're updating the issue view to help you get more done. 

Warehouse not reset upon change role in context

Description

Steps reproduce:

  1. Login to GardenWorld client

    • Role: GardenWorld Admin

    • Org: HQ

    • Warehouse: HQ Warehouse

  2. Goto Warehouse & Locator window

    • Inactivate Store Central Warehouse under Store Central Org. (There is only one warehouse in this org so by inactivating it there is no warehouse in this org)

  3. Do Change role

  4. Select Store Central Org

  5. Warehouse dropdown would be empty

  6. Login and then go to Generate Shipment (Manual)

    • Here warehouse would be displayed as the previous logged org and warehouse as it didnt get updated as there is not warehouse in the current logged in org

Attached the patch as possible solution for this issue

Environment

None

Status

Assignee

Pritesh Shah

Reporter

Pritesh Shah

Labels

None

Tested By

None

Priority

Major