Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relate field for One2many raise read error when applied ir.rule #12853

Closed
netice opened this issue Jul 20, 2016 · 1 comment
Closed

Relate field for One2many raise read error when applied ir.rule #12853

netice opened this issue Jul 20, 2016 · 1 comment
Labels
9.0 Framework General frontend/backend framework issues

Comments

@netice
Copy link

netice commented Jul 20, 2016

Impacted versions:
v8 v9

Steps to reproduce:
1.Create a relate field for One2many field .
2.Apply ir.rule to the Oner2many field object to have some record only see by some user.
3.Access the relate field with some record do not has read right.
4.Access the origin One2many field no error raise but hide the record not has right.

Current behavior:
raise an read access error

Expected behavior:
not raise error but hide the record not has read right

Video/Screenshot link (optional):

@Yenthe666 Yenthe666 added Framework General frontend/backend framework issues 9.0 labels Apr 19, 2018
@pedrobaeza
Copy link
Collaborator

You can't do a related field to a one2many without these side effects. You can workaround it using the same domain on the one2many field, but you shouldn't rely on this kind of tricks. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9.0 Framework General frontend/backend framework issues
Projects
None yet
Development

No branches or pull requests

3 participants