diff options
| author | Martin Trigaux <mat@odoo.com> | 2017-05-19 16:24:09 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2017-05-19 16:24:09 +0200 |
| commit | 77aaba1c050e85098f645ab8f5e0387beb4bef20 (patch) | |
| tree | 138324a70c54f76912e1a6e5aa94385e7f4c2f6d /doc | |
| parent | 0280354045640e913e7d85271a9c507451ea1735 (diff) | |
[FIX] point_of_sale: do not recompute the past
The cash_control flag on a session will be true if at least one payment method
is cash and the config has cache control.
However, the prevents to enable the flag on the config if one session in the
past had no cash method. As the field is not stored, it will be recomputed if
displayed (or prefetched) and raise an error, on a past session.
If the session is already closed, never raise an error
opw-744314
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
