diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-09-01 16:35:25 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-09-05 08:41:33 +0200 |
| commit | e14ab697727d87773dbefba11453b9edca79fc68 (patch) | |
| tree | b30d5d78f4993627801507b1779b91a5d674381b /addons/web/static/src/js/fields/relational_fields.js | |
| parent | dc88a1ac426c7cbeb8a617526a13edc88dcfc456 (diff) | |
[FIX] point_of_sale: control if a cashier is in localstorage
Before this commit, we could temporarily change cashier from A to B, and back to A seamlessly just by refreshing the page.
This could be a security issue for a cashier is held responsible for its sales.
This commit stores the cashier in localstorage, and with the right sets of methods, corrects the issue.
OPW 767827
closes #19207
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
