-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
[16.0][FIX] fastapi: always add authenticate_partner_id in context when evaluating ir rules #410
[16.0][FIX] fastapi: always add authenticate_partner_id in context when evaluating ir rules #410
Conversation
Hi @lmignon, |
166f5c8
to
e815ad9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Last word to @lmignon, though.
@AnizR Can you add a file named |
This PR has the |
…en evaluating ir rules This fix is needed since a modificiation of ir.rule that checks the domain when creating/modifying ir rules The solution is to set authenticate_partner_id to False when it is not present in context
e815ad9
to
7c125b4
Compare
Done 👍 |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at f055ab2. Thanks a lot for contributing to OCA. ❤️ |
This fix is needed due to a modificiation of ir.rule that checks the domain when creating/modifying ir rules:
odoo/odoo@91a3566
The solution is to set authenticate_partner_id by default to False when it is not present in context