diff options
| author | Florian Gilbert <flg@odoo.com> | 2020-09-11 12:44:49 +0000 |
|---|---|---|
| committer | Florian Gilbert <flg@odoo.com> | 2020-09-11 14:11:33 +0000 |
| commit | 2412a6faf12175c0ca541e7bb24e9ea6ad77ee6f (patch) | |
| tree | bfb69e3db74c4d0098acbc081935acd7e9c6735c /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 2154e742418b6a2ff87f120d0338bc30b3d4b4dd (diff) | |
[FIX] account: fix traceback happened in accounting dashboard
For Odoo Fin purpose:
When you click on Synchronize Now, you get a traceback.
This traceback comes from the "_get_journal_bank_account_balance"
method which performs a "self._cr.execute(...)" and a "self._cr.fetchone()".
However, it is possible that the orm may invalidate the whole
thing in the meantime because other calls are made.
This fix corrects this by grouping the "execute" of the "fetchone".
closes odoo/odoo#57549
X-original-commit: 7ab664bd8be72add3591895ef058afe7a1a9147e
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
