Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Multi warehouses access rights?

Rami Talat
on 2/23/15, 9:30 AM 926 views

My client has a company with the following structure:

  • The HO                                       (HO)
  • The Manufacturing Plant              (MF)
  • Other warehouses                       (OW)

Each of these branches has its own local warehouse as described, respectively.

The warehouse access rights should be distributed over these warehouses, as each stock keeper should only deal with his warehouse.

In Odoo Sales, each sales team member can be restricted to see only his leads.
However, in Odoo Warehouse, I cannot see such access rights.

Please help with your experience.

On 3/6/15, 3:02 AM

You may use these record rules;


['&', ('location_id', 'not ilike', 'OW'),('location_dest_id','not ilike', 'OW'), ('location_id', 'not ilike', 'MF'),('location_dest_id','not ilike', 'MF')]


['&', ('location_id', 'not ilike', 'HO'),('location_dest_id','not ilike', 'HO'), ('location_id', 'not ilike', 'MF'),('location_dest_id','not ilike', 'MF')]


['&', ('location_id', 'not ilike', 'OW'),('location_dest_id','not ilike', 'OW'), ('location_id', 'not ilike', 'HO'),('location_dest_id','not ilike', 'HO')]

That's pretty cool!

on 3/6/15, 3:14 AM

Thanks for better example

on 10/1/16, 1:54 AM

Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--
| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 2/23/15, 7:14 PM


create 3 access rights groups, one by branch.group_ho, group_mf an group_ow.

search for ir_rules define for object stock.warehouse. Override it by adding first group group_ho and by overriding domain by adding filter with the xml_id/id of warehouse The HO.

Create 2 other ir_rules like previous, just change the group an domain with group_mf/The Manufacturing Plant and group_ow/Other warehouses.

For each group, add user you want to determine a warehouse.


IT Libertas
On 6/7/16, 12:52 PM

Use this app: https://apps.odoo.com/apps/modules/9.0/stock_limitation/

On 2/26/15, 12:56 PM

I think such access rights should be built in in Odoo, in order to differentiate between storekeepers’ responsibilities.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

4 follower(s)


Asked: 2/23/15, 9:30 AM
Seen: 926 times
Last updated: 10/1/16, 1:53 AM