diff options
| author | Goffin Simon <sig@odoo.com> | 2020-12-08 13:33:54 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-12-08 15:02:29 +0000 |
| commit | f734b1cdc2780107ce690306aa1bc0acb9f13161 (patch) | |
| tree | 2ad6e24ddc0bc4cf2f24c5269c348f021b04ba52 /addons/mail/static/src/components/thread_view/thread_view_tests.js | |
| parent | d0ad00fddf5c3eb05381769a4e75c93e4dcfc388 (diff) | |
[FIX] account: Register payment
Steps to reproduce:
- Create a customer invoice I for a total of 1000€
- Confirm I
- Register a payment
Bug:
The default amout in the wizard was 0€ instead of 1000€
The default amount is computed by _get_wizard_values_from_batch with the sum of
amount_residual of all the lines. But in function _compute_amount_residual, it
checked line.id and this case, all the lines were in cache with NewId
opw:2413064
closes odoo/odoo#63023
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/mail/static/src/components/thread_view/thread_view_tests.js')
0 files changed, 0 insertions, 0 deletions
