Skip to content

Conversation

@simahawk
Copy link
Contributor

@simahawk simahawk commented Nov 1, 2025

model.model few lines below will trigger an access error w/o this change.

TODO:

  • add tests

@etobella am I wrong or we miss ACL completely for handler models? 🤔

@OCA-git-bot
Copy link
Contributor

Hi @etobella,
some modules you are maintaining are being modified, check this out!

@simahawk
Copy link
Contributor Author

simahawk commented Nov 3, 2025

@etobella am I wrong or we miss ACL completely for handler models? 🤔

I answer myself: they are abstract models, not need for that.
But we need that sudo call to access their ir.model properties.

@simahawk
Copy link
Contributor Author

Finally added tests 🚀

model.model few lines below will trigger an access error w/o this change.
@simahawk simahawk force-pushed the 18-fix-perm branch 2 times, most recently from c9081df to 273ca52 Compare November 26, 2025 15:29
@simahawk
Copy link
Contributor Author

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-217-by-simahawk-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 0d15758 into OCA:18.0 Dec 15, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 26aeaf0. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants