[19.0][MIG] hr_expense_tier_validation: Migration to 19.0#349
Draft
dnplkndll wants to merge 47 commits into
Draft
[19.0][MIG] hr_expense_tier_validation: Migration to 19.0#349dnplkndll wants to merge 47 commits into
dnplkndll wants to merge 47 commits into
Conversation
b13d317 to
90346ee
Compare
…m the expense report is under validation
…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/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. 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/
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/
12b7ef6 to
cb893b7
Compare
hr.expense.sheet was removed in 19.0; retarget tier validation to hr.expense.
cb893b7 to
bfa850e
Compare
BhaveshHeliconia
suggested changes
Jun 2, 2026
Contributor
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
@dnplkndll the tier-validation modules have been moved to a separate repository for 19.0: https://github.com/OCA/tier-validation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port of
hr_expense_tier_validationto 19.0.Non-mechanical adaptations worth flagging
hr_expense_tier_validationto inherit fromtier.validationand apply multi-step approval gates directly on individualhr.expenserecords instead of the removedhr.expense.sheetcore model.hr.expensesearch views.hr.expenserecords in the submitted state.