Skip to content

[DEMO] hr_expense_payment_trip — pay a whole trip in one payment#2

Open
dnplkndll wants to merge 35 commits into
19.0-hr_expense_tripfrom
19.0-demo-payment-trip
Open

[DEMO] hr_expense_payment_trip — pay a whole trip in one payment#2
dnplkndll wants to merge 35 commits into
19.0-hr_expense_tripfrom
19.0-demo-payment-trip

Conversation

@dnplkndll

@dnplkndll dnplkndll commented Jun 19, 2026

Copy link
Copy Markdown

Prototype bridge (hr_expense_payment_trip, auto_install) on top of the trip foundation (#1) stacked with hr_expense_payment (OCA#355). Adds a Pay Trip button that registers one payment over the trip's posted, unpaid expenses. Demo/eval branch — stacks trip + payment + bridge so the self-hosted runboat builds it directly. Local install + tests: 0/0 of 2.

Demo note

The Pay Trip button + payable detection are unit-tested (2/2). It surfaces only once the trip's expenses are posted; in 19.0 expense posting routes through the core hr.expense.post.wizard, so exercise it on the runboat: trip → Create Bill → confirm the post wizard → Pay Trip appears → one register-payment for the batch.

Saran440 and others added 30 commits May 27, 2026 09:10
(cherry picked from commit 958f048)
(cherry picked from commit 3117aaf)
(cherry picked from commit 8af8d1d)
(cherry picked from commit 58e36ee)
(cherry picked from commit e209ca1)
(cherry picked from commit cb26762)
(cherry picked from commit 956f61c)
(cherry picked from commit dac1f33)
Currently translated at 100.0% (6 of 6 strings)

Translation: hr-expense-16.0/hr-expense-16.0-hr_expense_payment
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-16-0/hr-expense-16-0-hr_expense_payment/it/
(cherry picked from commit 4aee4df)
(cherry picked from commit 7069276)
(cherry picked from commit cd2e59b)
(cherry picked from commit 0cf4e03)
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: hr-expense-16.0/hr-expense-16.0-hr_expense_payment
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-16-0/hr-expense-16-0-hr_expense_payment/
(cherry picked from commit 57cb790)
(cherry picked from commit 02e018f)
(cherry picked from commit c9932e4)
(cherry picked from commit 72ceb08)
(cherry picked from commit df0b0b0)
(cherry picked from commit 6a3bf00)
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: hr-expense-18.0/hr-expense-18.0-hr_expense_payment
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-18-0/hr-expense-18-0-hr_expense_payment/
(cherry picked from commit fecb164)
Currently translated at 100.0% (5 of 5 strings)

Translation: hr-expense-18.0/hr-expense-18.0-hr_expense_payment
Translate-URL: https://translation.odoo-community.org/projects/hr-expense-18-0/hr-expense-18-0-hr_expense_payment/it/
(cherry picked from commit 0b64eb0)
dnplkndll added 5 commits May 27, 2026 09:18
hr.expense.sheet was removed in 19.0; retarget the payment register to hr.expense.
…type)

Bridge module (auto_install) depending on hr_expense_payment + hr_expense_trip.
Adds a 'Pay Trip' action that registers a single payment over the trip's posted,
unpaid expenses via the standard expense register-payment flow.
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.

10 participants