Skip to content

[DEMO] hr_expense_advance_clearing_trip — advance tied to a trip#3

Open
dnplkndll wants to merge 41 commits into
19.0-hr_expense_tripfrom
19.0-demo-advance-clearing-trip
Open

[DEMO] hr_expense_advance_clearing_trip — advance tied to a trip#3
dnplkndll wants to merge 41 commits into
19.0-hr_expense_tripfrom
19.0-demo-advance-clearing-trip

Conversation

@dnplkndll

@dnplkndll dnplkndll commented Jun 19, 2026

Copy link
Copy Markdown

Prototype bridge (hr_expense_advance_clearing_trip, auto_install) on top of the trip foundation (#1) stacked with hr_expense_advance_clearing (OCA#358). Adds a Trip Advance + Apply Advance that clears the trip's expenses against the advance in one step. Demo/eval branch — stacks trip + advance_clearing + bridge for the self-hosted runboat. Local install + tests: 0/0 of 3.

Demo (local 19.0)

Trip Munich Q1 with Trip Advance = Munich advance ($1,000), Advance Remaining shown; Apply Advance linked both trip expenses (Conference, Hotel Munich) to the advance in one click.

Trip advance

kittiu and others added 30 commits May 29, 2026 16:37
[UPD] Update hr_expense_advance_clearing.pot

[UPD] README.rst

(cherry picked from commit 47c7398)
Fix install error when there are already some expense in system.

[UPD] README.rst

hr_expense_advance_clearing 12.0.1.0.1

(cherry picked from commit 1f3ec1e)
(cherry picked from commit df4f68f)
We should prevent setting the analytic account in expenses used as
employees advance. Otherwise, it can lead to errors charging against an
analytic account that later won't be compensated when all is reconcile.
Anyway, the advance is not an expense, but money of the company moving
from one place to another, that later will be used for real expenses
that will be imputed to the corresponding analytic account

(cherry picked from commit 2723fe7)
(cherry picked from commit c77a2bc)
(cherry picked from commit 26e9383)
Currently translated at 100.0% (57 of 57 strings)

Translation: hr-expense-15.0/hr-expense-15.0-hr_expense_advance_clearing
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-15-0/hr-expense-15-0-hr_expense_advance_clearing/it/
(cherry picked from commit 3a273f0)
Currently translated at 100.0% (56 of 56 strings)

Translation: hr-expense-16.0/hr-expense-16.0-hr_expense_advance_clearing
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-16-0/hr-expense-16-0-hr_expense_advance_clearing/it/
(cherry picked from commit 1d62501)
…company so that the correct property can be retrieved

(cherry picked from commit 213cb2f)
victoralmau and others added 10 commits May 29, 2026 16:37
…s might intervene.

TT55529

(cherry picked from commit 4a89241)
Currently translated at 100.0% (56 of 56 strings)

Translation: hr-expense-18.0/hr-expense-18.0-hr_expense_advance_clearing
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-18-0/hr-expense-18-0-hr_expense_advance_clearing/it/
(cherry picked from commit 533941a)
…patibility)

Since some other modules can introduce other moves to the expense sheet,
this refactor allow some compatibility between those modules without
changing behavior on this module.

(cherry picked from commit 2be9623)
hr.expense.sheet removed in 19.0; retarget to hr.expense (+ hr.employee.base->hr.employee).
@dnplkndll dnplkndll force-pushed the 19.0-demo-advance-clearing-trip branch from 2f408d7 to 2996497 Compare June 19, 2026 13:30
…totype)

Bridge module (auto_install) depending on hr_expense_advance_clearing +
hr_expense_trip. Adds a Trip Advance on the trip and an 'Apply Advance' action
that clears the trip's regular expenses against it in one step.
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.