Skip to Content
Menu
This question has been flagged

Let's say you have a product called Banana. This product has a total of 200 quantity on hand that is distributed amongst 2 locations. 100 quantity of the product is in Location1 and the other 100 quantity is in Location2. Both these locations belong to CompanyA. In general, when you switch between companies you can only see records that belong to the currently selected company. However, when I go to my Banana product and go to its quantity on hand (the stock.quant model) and switch the company to CompanyB (this company doesn't have Location1 and Location2)  I will still be able to see the locations that are from CompanyA unless I get out of the list view of the stock.quant model and then come back then I will not be able to see the locations that are from CompanyA. Is there a way I can filter the records based on the currently selected company whilst I'm in the stock.quant view and switching between companies. Security rules won't work for this because the rule is implemented but it works only when you go out of the stock.quant list view and then come back to the page. 

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 23
2485
1
Jan 21
3190
6
Aug 18
11029
1
Jul 17
4170
1
Mar 15
4600