summaryrefslogtreecommitdiff
path: root/addons/note/data/note_data.xml
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-09-05 13:37:30 +0000
committerNicolas Martinelli <nim@odoo.com>2019-09-05 13:45:49 +0000
commit3cadfebf0fe7a8b9d410ecc80ac935d1f05283e5 (patch)
tree6ada2300f856d0257dae238253c1007d02886a52 /addons/note/data/note_data.xml
parent2581693b5da16c3c7362e428d3fe9b8f68032df4 (diff)
[FIX] account: avoid traceback in auto-reconciliation
Commit 6b6d290a5b647c94760 made sure that the list of candidates was not empty to avoid a zero division. However, it might still happen that the `total_residual` is zero. We make sure to avoid the zero division in this case. opw-2058784 closes odoo/odoo#36482 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/note/data/note_data.xml')
0 files changed, 0 insertions, 0 deletions