Skip to content

[19.0][MIG] base_tier_validation_formula: Migration to 19.0#1254

Open
monthop-gmail wants to merge 39 commits intoOCA:19.0from
monthop-gmail:19.0-mig-base_tier_validation_formula
Open

[19.0][MIG] base_tier_validation_formula: Migration to 19.0#1254
monthop-gmail wants to merge 39 commits intoOCA:19.0from
monthop-gmail:19.0-mig-base_tier_validation_formula

Conversation

@monthop-gmail
Copy link
Copy Markdown

Summary

  • Bump version to 19.0.1.0.0
  • Convert bare _() to self.env._() in model methods (Odoo 19 translation change)

🤖 Generated with Claude Code

AdriaGForgeFlow and others added 30 commits March 16, 2026 15:29
fixup and extend tests

[ADD] systray icon for pending reviews

[FIX] Remove python safe_eval

[ADD] base_tier_validation_formula and migration scripts

[ADD] widget domain and python expression to define reviewer in tier definition

[ADD] auto updating of systray icon counter

[ADD] validation date field

[ADD] review widget dropdown menu
Currently translated at 100.0% (17 of 17 strings)

Translation: server-ux-12.0/server-ux-12.0-base_tier_validation_formula
Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-base_tier_validation_formula/zh_CN/
[UPD] Update base_tier_validation_formula.pot
… in tier definitions

[UPD] Update base_tier_validation_formula.pot
[UPD] Update base_tier_validation_formula.pot
[UPD] Update base_tier_validation_formula.pot
- Include context keys for avoiding mail operations overhead.
OCA-git-bot and others added 6 commits March 16, 2026 15:29
Currently translated at 100.0% (15 of 15 strings)

Translation: server-ux-18.0/server-ux-18.0-base_tier_validation_formula
Translate-URL: https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-0-base_tier_validation_formula/tr/
…oaded

With the changes introduced in odoo/odoo@de056cc#diff-b37c7fd5520c97a29ddc59495779e7be61a66e15e85603928e27b3affb9dc31f, an error was occurring because the change validation on the model was being performed before tearDownClass was executed. Therefore, it has been modified so that the mock changes are applied in each test and cleaned up after each test. This way, the error will no longer appear and the test will run normally.
@monthop-gmail monthop-gmail force-pushed the 19.0-mig-base_tier_validation_formula branch from 6eb2df0 to deec68a Compare March 16, 2026 08:30
monthop-gmail and others added 3 commits March 16, 2026 19:48
base_tier_validation_formula depends on base_tier_validation which
is not yet available for 19.0. Include it so CI tests can run.
This should be removed once base_tier_validation is merged (PR OCA#1253).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ed user

In Odoo 19 CI environment, base.user_demo is not available.
Create a test user instead of referencing the demo user XML ID.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
In Odoo 19, safe_eval() signature changed from globals_dict to context.
Update both tier_review.py and tier_validation.py accordingly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.