Skip to content
Snippets Groups Projects
Commit 6ec4ba7b 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#119065

X-original-commit: a4b4b6b9
Related: odoo/enterprise#40000
Signed-off-by: default avatarOlivier Colson (oco) <oco@odoo.com>
Signed-off-by: default avatarLaurent Smet <las@odoo.com>
parent 08bef197
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment