Skip to content

Fork Sync Branch 18.0#190

Merged
btl-bot merged 13 commits intoBTLzdravtech:18.0from
OCA:18.0
Feb 26, 2026
Merged

Fork Sync Branch 18.0#190
btl-bot merged 13 commits intoBTLzdravtech:18.0from
OCA:18.0

Conversation

@btl-bot
Copy link

@btl-bot btl-bot commented Feb 26, 2026

No description provided.

StefanRijnhart and others added 13 commits February 19, 2026 14:49
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
Signed-off-by pedrobaeza
Copy link

@sireko sireko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved

@btl-bot btl-bot merged commit 4e272a0 into BTLzdravtech:18.0 Feb 26, 2026
4 checks passed
@codecov-commenter
Copy link

codecov-commenter commented Feb 26, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 99.20000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
module_auto_update/tests/test_module.py 92.30% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Files with missing lines Coverage Δ
attachment_queue/tests/test_attachment_queue.py 100.00% <100.00%> (ø)
auditlog/models/rule.py 91.04% <100.00%> (-1.25%) ⬇️
auditlog/tests/common.py 100.00% <100.00%> (ø)
auditlog/tests/test_auditlog.py 100.00% <100.00%> (ø)
auditlog/tests/test_http.py 100.00% <100.00%> (ø)
base_exception/tests/test_base_exception.py 100.00% <100.00%> (ø)
...ase_name_search_improved/tests/test_name_search.py 100.00% <100.00%> (ø)
base_partition/tests/test_partition.py 100.00% <100.00%> (ø)
base_sequence_option/tests/common.py 100.00% <100.00%> (ø)
base_time_window/tests/test_time_window_mixin.py 100.00% <100.00%> (ø)
... and 4 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants