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

Attachments

1
  • 22 Feb 2019, 03:31 PM

Activity

Show:
Fixed

Details

Assignee

Reporter

Priority

Created February 22, 2019 at 3:28 PM
Updated April 1, 2019 at 2:53 PM
Resolved February 22, 2019 at 4:33 PM