Community mailing list archives

community@mail.odoo.com

Re: DOMAIN FILTERS FOR PRODUCTS

by
dom
- 03/16/2016 03:08:54
Hi Peter,

"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.

Regards,

Dominique KON-SUN-TACK  [Project Manager]
Odoo Gold Partner, best Odoo Partner 2014 for APAC

Mobile: + 65 8502 2399
Skype: dominique_elico

On 16 March 2016 at 14:52, Peter Mudoko <petypi@gmail.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


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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe