[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:Olivier Colson (oco) <oco@odoo.com>
Loading