Skip to content

Fork Sync Branch 19.0 - #227

Merged
btl-bot merged 3 commits into
BTLzdravtech:19.0from
OCA:19.0
Oct 22, 2026
Merged

btl-bot merged 3 commits into
BTLzdravtech:19.0from
OCA:19.0

Conversation

@btl-bot

@btl-bot btl-bot commented Oct 22, 2026

Copy link
Copy Markdown

No description provided.

AungKoKoLin1997 and others added 3 commits October 13, 2026 07:18
Reverting a rule assigned the original method back on the model's
registry class. Since that class is reused when further modules are
loaded, the assigned method kept shadowing the overrides they define,
e.g. the `write` of partner_contact_address_default when its tests run
in the same process as the ones of auditlog. Remove the patched
attribute instead so that the method resolves through the class
hierarchy again.

In tests, subscribe rules in `setUp` instead of `setUpClass` and revert
them in a cleanup after each test, so that no patch outlives a test,
even when `setUp` fails after subscribing.

Adapted forward port of the auditlog part of #3526 without the
registration in Odoo's patch checker, which does not exist in 19.0.

Fixes #3439

Assisted-by: Claude Opus 5.5
Signed-off-by StefanRijnhart

@sireko sireko left a comment

Copy link
Copy Markdown

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 e80f306 into BTLzdravtech:19.0 Oct 22, 2026
1 of 4 checks passed
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.

4 participants