[FIX] queue_job: prevent conflict w/ TestOverrides:test_creates#802
[FIX] queue_job: prevent conflict w/ TestOverrides:test_creates#802OCA-git-bot merged 1 commit intoOCA:18.0from
Conversation
This prevents TestOverrides.test_creates from failing in the Odoo `base` module due to sentinel protections taking effect even for local create invocations.
|
Hi @guewen, |
@simahawk I liked your idea and went ahead and implemented it. Tests are green and I will start running this change in my local development environment this week. |
|
@Kimkhoi3010 Would you be willing to review this pull request, since it mirrors your own? |
guewen
left a comment
There was a problem hiding this comment.
TIL @api.private, nice.
Thanks!
|
/ocabot merge patch |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at 5b7cedd. Thanks a lot for contributing to OCA. ❤️ |
|
That's cool! Question: what about the |
I did consider it during implementation, but |
🤣 that makes sense 😄 My understanding is that writes always happen by calling @guewen any opinion? |
|
I wondered about that too when reviewing but then realized some fields can be modified through the API (from the UI), some mustn't, so I don't think we can do that without the sentinel? |
|
After this fix I am getting a: |
This prevents TestOverrides.test_creates from failing in the Odoo
basemodule due to the sentinel protections taking effect even for local create invocations.Fixes #727