[19.0][MIG] hr_expense_advance_clearing_sequence: Migration to 19.0#359
Draft
dnplkndll wants to merge 16 commits into
Draft
[19.0][MIG] hr_expense_advance_clearing_sequence: Migration to 19.0#359dnplkndll wants to merge 16 commits into
dnplkndll wants to merge 16 commits into
Conversation
37290b1 to
611223e
Compare
BhaveshHeliconia
approved these changes
Jun 19, 2026
BhaveshHeliconia
left a comment
Contributor
There was a problem hiding this comment.
Code review LGTM!
485c707 to
d2c6fc6
Compare
Currently translated at 100.0% (1 of 1 strings) Translation: hr-expense-15.0/hr-expense-15.0-hr_expense_advance_clearing_sequence Translate-URL: https://translation.odoo-community.org/projects/hr-expense-15-0/hr-expense-15-0-hr_expense_advance_clearing_sequence/it/
- Inherit hr.expense (was hr.expense.sheet); key off expense_type='advance' and assign the sequence in create() (sheet model removed in 19.0).
…equence + hr_expense_advance_clearing to open PRs
d2c6fc6 to
bf9b945
Compare
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_advance_clearing_sequence` from 18.0 to 19.0. Trivial — moves the sheet-level advance sequence to per-expense.
Depends on OCA/hr-expense#353 (A2 hr_expense_sequence) + OCA/hr-expense#358 (D2 hr_expense_advance_clearing). Both pinned in `test-requirements.txt`.
Non-mechanical adaptations