Community mailing list archives

community@mail.odoo.com

DOMAIN FILTERS FOR PRODUCTS

by
mudoko
- 03/16/2016 02:51:56
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


Systems developer

Laballieds,

Nairobi:gate 256, Nairobi.

P.O.Box - 45855 -00100, Nairobi.

Tel:+254 721449067

Email petypi@gmail.com

Mobile: +254 721449067

Website www.softlinkoptions.com