Skip to content

[19.0][MIG] hr_expense_employee_analytic_default: Migration to 19.0#346

Closed
dnplkndll wants to merge 2 commits into
OCA:19.0from
dnplkndll:19.0-mig-hr_expense_employee_analytic_default
Closed

[19.0][MIG] hr_expense_employee_analytic_default: Migration to 19.0#346
dnplkndll wants to merge 2 commits into
OCA:19.0from
dnplkndll:19.0-mig-hr_expense_employee_analytic_default

Conversation

@dnplkndll
Copy link
Copy Markdown

Port of hr_expense_employee_analytic_default to 19.0.

Non-mechanical adaptations worth flagging

  • Odoo 19 Support: Adapted the _get_distribution override inside models/account_analytic_distribution_model.py to check both address_id and work_contact_id for resolving default employee analytic cost-centers.
  • Unit Tests: Completely rewrote the test suite to use standard Odoo 19 transaction patterns, ensuring direct and robust employee-analytic mapping test cases.

@OCA-git-bot OCA-git-bot added series:19.0 mod:hr_expense_employee_analytic_default Module hr_expense_employee_analytic_default labels May 24, 2026
@dnplkndll dnplkndll changed the title [19.0] hr_expense_employee_analytic_default: Migration to 19.0 [19.0][MIG] hr_expense_employee_analytic_default May 24, 2026
@dnplkndll dnplkndll force-pushed the 19.0-mig-hr_expense_employee_analytic_default branch from b424ef9 to fc07400 Compare May 24, 2026 22:49
@dnplkndll dnplkndll changed the title [19.0][MIG] hr_expense_employee_analytic_default [19.0][MIG] hr_expense_employee_analytic_default: Migration to 19.0 May 24, 2026
@dnplkndll dnplkndll force-pushed the 19.0-mig-hr_expense_employee_analytic_default branch 2 times, most recently from e839848 to 631e129 Compare May 25, 2026 13:55
@dnplkndll dnplkndll force-pushed the 19.0-mig-hr_expense_employee_analytic_default branch from 631e129 to 34d7768 Compare May 25, 2026 13:58
@dnplkndll
Copy link
Copy Markdown
Author

Replaced by #350 — source branch moved from dnplkndll fork to ledoent organization fork. Same commits (HEAD 34d7768), no content change.

@dnplkndll dnplkndll closed this May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:hr_expense_employee_analytic_default Module hr_expense_employee_analytic_default series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants