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:15:50 +0200 |
| commit | 50e9739eb5d6ec72a0e48e587605d3119852d5f6 (patch) | |
| tree | 183b5b5d0aeed56a2c851865aa7aa9a7824eb256 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | fd1a604b4ab6037643a00d5a206b8a1c1c18b0ff (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
Backport of e27a3b185e449139660f43fea34de9a79dc66f2c (on #17438)
Closes #17599
OPW 743763
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
