[DEMO] hr_expense_payment_trip — pay a whole trip in one payment#2
Open
dnplkndll wants to merge 35 commits into
Open
[DEMO] hr_expense_payment_trip — pay a whole trip in one payment#2dnplkndll wants to merge 35 commits into
dnplkndll wants to merge 35 commits into
Conversation
(cherry picked from commit 958f048)
(cherry picked from commit 1fb90c1)
(cherry picked from commit 3117aaf)
(cherry picked from commit 8af8d1d)
(cherry picked from commit 58e36ee)
(cherry picked from commit 288a719)
(cherry picked from commit e209ca1)
(cherry picked from commit cb26762)
(cherry picked from commit caf1f0b)
(cherry picked from commit 956f61c)
(cherry picked from commit dac1f33)
(cherry picked from commit e242daf)
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 c797712)
(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 c71a6fa)
(cherry picked from commit 69560c7)
(cherry picked from commit 02e018f)
(cherry picked from commit c9932e4)
Related to odoo/odoo@2dc6b6c (cherry picked from commit 8692a69)
(cherry picked from commit 72ceb08)
(cherry picked from commit 6660847)
…thod (cherry picked from commit a82dace)
(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)
hr.expense.sheet was removed in 19.0; retarget the payment register to hr.expense.
…19.0-demo-payment-trip
…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.
3cb4b35 to
dc95b50
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.
Prototype bridge (
hr_expense_payment_trip, auto_install) on top of the trip foundation (#1) stacked withhr_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.