-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0 & 17.0] hr_expense_invoice error when expense report includes invoices from diferent providers #273
Labels
Comments
The error is in _do_create_moves on hr_expense_sheet.py. it should be so that it takes the partner_id of current expense, not the one from the first expense from the report I will upload a PR Regards, |
This was referenced Oct 21, 2024
TheCloneMaster
added a commit
to TheCloneMaster/hr-expense
that referenced
this issue
Oct 21, 2024
If an expense report includes invoices from different providers, when posting move the report moves to "paid" and invoices are not reconciled as paid, as it fails to reconcile the lines with the transfer moves. Use the correct partner, from current expense line from the report, not always the same partner from first expense line. Fixes OCA#273
cav-adhoc
pushed a commit
to adhoc-dev/hr-expense
that referenced
this issue
Dec 12, 2024
If an expense report includes invoices from different providers, when posting move the report moves to "paid" and invoices are not reconciled as paid, as it fails to reconcile the lines with the transfer moves. Use the correct partner, from current expense line from the report, not always the same partner from first expense line. Fixes OCA#273
cav-adhoc
pushed a commit
to adhoc-dev/hr-expense
that referenced
this issue
Feb 27, 2025
If an expense report includes invoices from different providers, when posting move the report moves to "paid" and invoices are not reconciled as paid, as it fails to reconcile the lines with the transfer moves. Use the correct partner, from current expense line from the report, not always the same partner from first expense line. Fixes OCA#273
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Module
hr_expense_invoice
Describe the bug
If an expense report includes invoices from diferent providers, when posting move the report moves to "paid" and invoices are not reconciled as paid.
To Reproduce
Affected versions: 16.0 & 17.0
Steps to reproduce the behavior:
As a result, the expense report is marked as paid, and the invoices remain open
Expected behavior
The Expense report should move to "register payment", and the original invoices should appear as "paid"
The text was updated successfully, but these errors were encountered: