summaryrefslogtreecommitdiff
path: root/addons/account_debit_note/tests/test_out_debit_note.py
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2020-09-18 06:40:46 +0000
committeroco-odoo <oco@odoo.com>2020-09-18 15:35:22 +0000
commitecc8f8be6ee09cb0fdfae0c4b35a933541d41292 (patch)
tree263ecd7104ca073ef8ec196a43406f65616444bf /addons/account_debit_note/tests/test_out_debit_note.py
parentfbe89b8617c17a3fa93970b4d706a7f0d6421ae5 (diff)
[FIX] account: Fix float division by zero in reconcile model after migration
A statement line can't have a zero amount except after a migration. In that case, the residual amount of the statement line is also zero and then, the line having the suspense account has a balance of zero. When opening the bank reconciliation widget, it leads to a float division by zero because we try to compute the paid percentage of the statement line. closes odoo/odoo#58052 Task: 2341850 X-original-commit: bf2d76ba9e2856a5b71a3348100fdca6d068e0c0 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/account_debit_note/tests/test_out_debit_note.py')
0 files changed, 0 insertions, 0 deletions