[v7] Unable to submit Purchase Receipt due to Warehouse issue

@asneha1 There was a bug in a patch, thus all warehouses get converted to a group. We have fixed that issue.

To convert warehouse to non-group, edit group warehouse and convert it to non-group.