diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-09-11 15:04:41 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-09-13 09:49:35 +0000 |
| commit | 6dacb3269d06ca5b00be7612873b6c4602b52031 (patch) | |
| tree | 4adb069a941aea83ae6ff372cf3a1ef0ae102502 /doc/reference/javascript_reference.rst | |
| parent | 6caeed1fd74219d688aa56328aa9452b54f472a3 (diff) | |
[IMP] point_of_sale: check constraint at session creation
The constraints could be bypassed if a user set a jourmal/account/location to
the pos.config and, then, modifies the location configuration.
Checking the value of current_session_id makes sure the constraints is triggered
also when the session is created.
Prevents workarounds such as explained at #26641
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
