diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-06-06 14:41:58 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-06-14 16:12:03 +0200 |
| commit | e27a3b185e449139660f43fea34de9a79dc66f2c (patch) | |
| tree | 1697230227087d4c0b64b8c1151064d99a23f84e /odoo/sql_db.py | |
| parent | 62fec71568f204ce07a935edcf1a8b774a3537ed (diff) | |
[FIX] point_of_sale: recompute bank statement balance before validating session
Before this commit, the return flow in the pos would not work if closing the pos session intervened before the return payment registration.
The balance of the the statements was not updated before going to the validate step.
After this commit, we force the recomputing of the relevant fields (i.e. balance_end_real), to reflect reality and permitting validatioon afterwards
OPW 743763
Closes #17438
Diffstat (limited to 'odoo/sql_db.py')
0 files changed, 0 insertions, 0 deletions
