summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2017-09-01 16:35:25 +0200
committerLucas Perais (lpe) <lpe@odoo.com>2017-09-05 08:41:33 +0200
commite14ab697727d87773dbefba11453b9edca79fc68 (patch)
treeb30d5d78f4993627801507b1779b91a5d674381b /addons/web/static/src/js/views/basic/basic_view.js
parentdc88a1ac426c7cbeb8a617526a13edc88dcfc456 (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/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions