Syncing from upstream OCA/server-tools (18.0)#2008
Merged
bt-admin merged 13 commits intobrain-tec:18.0from Feb 21, 2026
Merged
Conversation
See odoo/odoo#247151 * Register with the patch checker to prevent exhaustive logging ``` odoo odoo.tests.common: /__w/server-tools/server-tools/auditlog/models/rule.py:232:_patch_method setting res.groups.unlink to <function AuditlogRule._make_unlink.<locals>.unlink_full at 0x7fa51ea90f70> ``` * Align model patching with how it's done in base_automation to fully remove patched methods. Fixes #3439 * Dismantle own patch checker. * Ensure no patching takes place in setUpClass.
See odoo/odoo#247151 Fixes ``` AssertionError: Found unexpected attributes on res.partner: _default_batch_size ```
See odoo/odoo#247151 Fixes ``` AssertionError: Found unexpected attributes on res.partner.category: jsonify_custom ```
Replace manual monkeypatching with unittest.mock.patch which is not signalled by Odoo's patch checker. See odoo/odoo#247151
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 18.0 #2008 +/- ##
==========================================
- Coverage 75.83% 75.77% -0.06%
==========================================
Files 365 365
Lines 10952 10948 -4
Branches 1357 1357
==========================================
- Hits 8305 8296 -9
- Misses 2387 2388 +1
- Partials 260 264 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bt_gitbot