summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-03-25 15:50:00 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-03-26 08:35:51 +0000
commit80b900ee578450ba9d32d23ef991cedaae242d28 (patch)
tree9adbe70477fc84a1057c3a3fc738994ba5072d99 /addons/web/static/src/js/views/basic/basic_controller.js
parentb8950ab49a1176bc33a7180d327cbf32f4dbccdd (diff)
[FIX] account: reconciliation matching rule div by zero
Do a MISC operation representing a payment revert it Do a statement line for that amount Click on "reconcile" on the bank journal Before this commit there was a Division By Zero traceback This was because the bank account line had a zero amount_residual due to its reversion while the statement line was negative. After this commit, for liquidity lines, we take the total amount instead of the residual Because a reverted payment line can always be associated with a statement OPW 1947362 courtesy of @smetl (las@odoo.com) for the fix closes odoo/odoo#32105 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions