Skip to content
Snippets Groups Projects
Commit a4b4b6b9 authored by Laurent Smet's avatar Laurent Smet
Browse files

[FIX] account: Fix json_friendly_compute_all in both reco widget

On the bank reco widget, price_unit is following the sign of the statement line.
On the manual reco widget, the price_unit is following the accounting balance.
This leads to unconsistent tags in both widgets.

The issue has been fixed on the manual reco widget in:
https://github.com/odoo/odoo/commit/a70f804d7da68d5cc7cdd79b75d73359c41b9367



However, this breaks the bank reco widget because the tags are now reversed.
The crappy solution is to put a context key to distinguish both widgets.

closes odoo/odoo#118891

Related: odoo/enterprise#39930
Signed-off-by: default avatarOlivier Colson (oco) <oco@odoo.com>
parent 680ff54c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment