[DEMO] hr_expense_advance_clearing_trip — advance tied to a trip#3
Open
dnplkndll wants to merge 41 commits into
Open
[DEMO] hr_expense_advance_clearing_trip — advance tied to a trip#3dnplkndll wants to merge 41 commits into
dnplkndll wants to merge 41 commits into
Conversation
[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)
(cherry picked from commit 00f8f4a)
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 3b75338)
(cherry picked from commit c77a2bc)
(cherry picked from commit 3b9851c)
…oduct (cherry picked from commit c159aff)
(cherry picked from commit 26e9383)
… view (cherry picked from commit 7ada587)
(cherry picked from commit 397249a)
(cherry picked from commit 2d47f02)
(cherry picked from commit e6c8719)
(cherry picked from commit 963dff4)
(cherry picked from commit e680241)
(cherry picked from commit e6d6691)
…ly on new clearing (cherry picked from commit fbbf303)
(cherry picked from commit 9728fd3)
(cherry picked from commit c9ad5bc)
(cherry picked from commit ee44183)
(cherry picked from commit 6f13bc8)
… clearing (cherry picked from commit 8d5a396)
(cherry picked from commit e6bc12d)
(cherry picked from commit c328cfc)
(cherry picked from commit 0004a0e)
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)
(cherry picked from commit b91cc90)
…company so that the correct property can be retrieved (cherry picked from commit 213cb2f)
Related to odoo/odoo@063e224 (cherry picked from commit e174e02)
(cherry picked from commit 32354d4)
(cherry picked from commit 9831b13)
(cherry picked from commit 4dcae4d)
…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).
…ng' into 19.0-demo-advance-clearing-trip
2f408d7 to
2996497
Compare
…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.
2996497 to
97bb6af
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_advance_clearing_trip, auto_install) on top of the trip foundation (#1) stacked withhr_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.