DMO-4880
Fixed an issue where switching legal entity could cause the offline inventory to use a previously selected site and hence not be able to retrieve any warehouses.