Skip to content

Fork Sync Branch 18.0#193

Merged
btl-bot merged 3 commits intoBTLzdravtech:18.0from
OCA:18.0
Apr 2, 2026
Merged

Fork Sync Branch 18.0#193
btl-bot merged 3 commits intoBTLzdravtech:18.0from
OCA:18.0

Conversation

@btl-bot
Copy link
Copy Markdown

@btl-bot btl-bot commented Apr 2, 2026

No description provided.

tendil and others added 3 commits March 19, 2026 19:51
Some auditlog tests create res.partner / res.users records in setUpClass()
and setUp().

During module loading, these tests may run before res.partner is fully
initialized in the registry. In that phase, the autopost_bills field is not
yet available in res.partner._fields, so partner creation can fail with a
database-level NotNullViolation.

The same scenarios work correctly as post-install tests, once the registry is
fully loaded and the field default is available.

Mark the affected test classes as post_install to align their execution phase
with their actual model dependencies.

Task: 5248
Signed-off-by StefanRijnhart
Copy link
Copy Markdown

@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 963ffcf into BTLzdravtech:18.0 Apr 2, 2026
4 checks passed
@codecov-commenter
Copy link
Copy Markdown

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

Codecov Report

✅ All modified and coverable lines are covered by tests.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines Coverage Δ
auditlog/tests/test_auditlog.py 100.00% <100.00%> (ø)
auditlog/tests/test_autovacuum.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

🚀 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