Community mailing list archives
Re: DOMAIN FILTERS FOR PRODUCTSby
"I want users to view only products assigned to their warehouse"
Instead of restricting users on the products, it seems to me that you want to restrict users on their warehouse. If so, then you need to create access rule on warehouse, stock.picking.type, stock.picking and stock.move.
On 16 March 2016 at 14:52, Peter Mudoko <email@example.com> wrote:
Hi guys i want to limit which products users can access(in internal transfers and receipts/deliveries) per location(or warehouse) i have created many2one field location_id in product_template so have added in internal transfers form,product_id fielddomain = [('product_id.product_tmpl_id.location_id.name,'=',location_id.name)] . I am planning to do same for receipt and deliveries) , am i on the right path or their is a simplar way of doing it. I want users to view only products assigned to their warehouse. Thanks in advance