Odoo Help


5 Answers
Helal Algeria
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')]

Guru Denmark
3/6/15, 3:14 AM

That's pretty cool!

Zahin Afghanistan
10/1/16, 1:54 AM

Thanks for better example


Cyril Gaspard (GEM) France

--Cyril Gaspard (GEM)--
| 6 6 10
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Rank #1 on first OpenERP forum

OpenERP award "Top Contributor" 2011, for my actions on forum

Odoo forum moderator

Cyril Gaspard (GEM) France
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 Russian Federation

--IT Libertas--
| 4 3 9
Saint Petersburg, Russian Federation
--IT Libertas--

Visit us: https://odootools.com/

IT Libertas is a team of developers and automation experts to help you to unlock Odoo ERP system's potential. We have been communicating with end users to whom the software became a main business tool since 2012. As a result, we are proud of dozens of successful Odoo apps developed.

We are open for new ideas and challenges to create the best Odoo tools for business needs all over the world

IT Libertas Russian Federation
6/7/16, 12:52 PM

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

Guru Denmark
2/26/15, 12:56 PM

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

Ask a Question
Keep Informed
4 follower(s)
About This Community

This platform 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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now