diff options
| author | Adrien Widart <awt@odoo.com> | 2020-12-14 09:44:11 +0000 |
|---|---|---|
| committer | Adrien Widart <awt@odoo.com> | 2020-12-17 13:53:44 +0000 |
| commit | 413d932d3cb57bd8cd1f59da950111efcdc53cdc (patch) | |
| tree | f016223d024ce3a18e044fb2f30f6190a3c5fe02 /addons/web_editor/static/src/js | |
| parent | b389dcabf49fd05c5239d68fd26ef4239963a7e5 (diff) | |
[FIX] hr_expense: expense reconciliation
The reconciliation between an expense and a bank statement does not
update the expense and its sheet.
To reproduce the error:
(Need account_accountant)
1. Go to Expenses
2. Create one (e.g. an expense of $20)
3. Save, Create Report, Approve, Post Journal Entries
4. Go to Accounting > Bank
5. Create a bank statement (e.g. $-20)
6. Save, Post, Reconcile
7. Select the expense, Validate
8. Go to Expense > The created expense
=> The expense's state is still 'Approved'. It should be 'Paid'.
Moreover, if you click on the associated report ("View Report"), the
same error appears: the sheet's state is 'Posted' instead of 'Paid'.
The problem was that the method 'action_invoice_paid' (deleted in this
commit) was never reached. Moreover, there was no way to get the
expense's residual amount.
Notes:
- Manual backporting of 79fc2633734bd1685953079faf53b7ae7fbd7587
- Initial PR #63486
OPW-2389414
closes odoo/odoo#63302
Signed-off-by: adwid <adwid@users.noreply.github.com>
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions
