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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
3097
Vistas