Odoo Help


Record rule error!!!

Rami Talat
on 5/6/15, 10:59 AM 905 views


I tried to organize our company's warehouses and locations to the desired structure from our company's point of view to locations such that, (Input, Stock, Packing, and Output).

Then I defined a separate record rule for each location, to differentiate between each location moves and the others. Foe a while, everything was going well, but surprisingly, it get a strange error for the storekeeper ...


The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: stock.move, Operation: read) "

From the first glance I expected that the record rule missed the read permission, but that was wrong. The record rules have the four permissions set!

I tried also to put anything in this record rule, and it does the same behavior!

Can anyone help?


Specify the record rule you have given

Gopakumar N G
on 5/7/15, 1:58 AM

['&', ('location_id', 'ilike', 'Output'), '&', ('location_dest_id','ilike', 'Customers'), ('picking_type_id', 'ilike', 'Delivery Orders')]

Rami Talat
on 5/7/15, 9:53 PM

and it has the full CRUD privileges!

Rami Talat
on 5/7/15, 9:53 PM

on which object did you create your record rule?

on 5/7/15, 10:51 PM

on stock.moves

Rami Talat
on 5/7/15, 11:06 PM

I think it is a bug in Odoo.

on 5/8/15, 8:40 PM

Why this site is not supporting in such a bug?

Rami Talat
on 5/11/15, 5:42 AM



| 4 4 6
Hyderabad, India

On 5/21/15, 9:16 AM

Hi Rami,

Try adding the "stock.moves"  object in the "Access Right" of the group your logged in user belongs to and assign CRUD access to it.


The user is already in the default warehouse user group, which by default has this access rights.

Rami Talat
on 5/21/15, 6:42 PM

so are u assigning that rule also to warehouse group only?

on 5/22/15, 1:05 AM

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

Question tools

1 follower(s)


Asked: 5/6/15, 10:59 AM
Seen: 905 times
Last updated: 5/21/15, 9:16 AM