Skip to content

[19.0][MIG] hr_expense_tier_validation: Migration to 19.0#51

Open
dnplkndll wants to merge 29 commits into
OCA:19.0from
ledoent:19.0-mig-hr_expense_tier_validation
Open

[19.0][MIG] hr_expense_tier_validation: Migration to 19.0#51
dnplkndll wants to merge 29 commits into
OCA:19.0from
ledoent:19.0-mig-hr_expense_tier_validation

Conversation

@dnplkndll

Copy link
Copy Markdown

Port of hr_expense_tier_validation from 18.0 to 19.0. Migration guide: https://github.com/OCA/maintainer-tools/wiki/#migration-to-version-19.0

This module is re-filed here because the tier-validation family moved to its own OCA/tier-validation repo in 19.0 (it previously lived in OCA/hr-expense). Supersedes the 18.0-repo attempt at OCA/hr-expense#349; its base_tier_validation dependency now resolves within this repo.

Non-mechanical adaptations worth flagging

  • hr.expense.sheet removed in 19.0 — tier validation is retargeted from hr.expense.sheet to hr.expense (models/hr_expense_sheet.pymodels/hr_expense.py, views/hr_expense_sheet_view.xmlviews/hr_expense_views.xml, and the tier-definition model reference). Approval now lives on the expense record itself.

@OCA-git-bot OCA-git-bot added series:19.0 mod:hr_expense_tier_validation Module hr_expense_tier_validation labels Jun 2, 2026
@dnplkndll dnplkndll force-pushed the 19.0-mig-hr_expense_tier_validation branch from 87d2d39 to a7024af Compare June 3, 2026 16:52
oca-travis and others added 26 commits June 22, 2026 14:34
…validate the tier validation, then the user has to click the Submit to Manager button. By this PR, requester has to click the Submit to Manager button first, then the tier validation is activated.
Currently translated at 100.0% (18 of 18 strings)

Translation: hr-expense-15.0/hr-expense-15.0-hr_expense_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-15-0/hr-expense-15-0-hr_expense_tier_validation/it/
Currently translated at 100.0% (19 of 19 strings)

Translation: hr-expense-16.0/hr-expense-16.0-hr_expense_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-16-0/hr-expense-16-0-hr_expense_tier_validation/it/
Currently translated at 100.0% (19 of 19 strings)

Translation: hr-expense-16.0/hr-expense-16.0-hr_expense_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-16-0/hr-expense-16-0-hr_expense_tier_validation/it/
Currently translated at 100.0% (19 of 19 strings)

Translation: hr-expense-16.0/hr-expense-16.0-hr_expense_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-16-0/hr-expense-16-0-hr_expense_tier_validation/it/
Currently translated at 100.0% (19 of 19 strings)

Translation: hr-expense-16.0/hr-expense-16.0-hr_expense_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-16-0/hr-expense-16-0-hr_expense_tier_validation/it/
Currently translated at 100.0% (19 of 19 strings)

Translation: hr-expense-16.0/hr-expense-16.0-hr_expense_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-16-0/hr-expense-16-0-hr_expense_tier_validation/it/
Currently translated at 100.0% (21 of 21 strings)

Translation: hr-expense-18.0/hr-expense-18.0-hr_expense_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-18-0/hr-expense-18-0-hr_expense_tier_validation/tr/
hr.expense.sheet was removed in 19.0; retarget tier validation to hr.expense.
@dnplkndll dnplkndll force-pushed the 19.0-mig-hr_expense_tier_validation branch from a7024af to 5463183 Compare June 22, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:hr_expense_tier_validation Module hr_expense_tier_validation series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.