Skip to content
Snippets Groups Projects
Commit 1c5771a4 authored by Akim Juillerat's avatar Akim Juillerat Committed by oco-odoo
Browse files

[FIX] account: Fix UPDATE in _toggle_reconcile_to_false


As _toggle_reconcile_to_true updates the amount_residual on unreconciled
move lines linked to the account, _toggle_reconcile_to_false must
set the amount_residual to 0.
However as the SQL query is broken the update fails and move lines
supposed to have 0 as amount_residual still have the value.

closes odoo/odoo#52533

X-original-commit: 8e32134cedce688c0fa33d1c51c5570d63f14efa
Signed-off-by: default avataroco-odoo <oco-odoo@users.noreply.github.com>
parent 6e2ec9c7
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment