summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorIvan Yelizariev <yelizariev@it-projects.info>2018-04-27 22:00:10 +0000
committerMartin Trigaux <mat@odoo.com>2019-09-12 11:36:39 +0000
commitc0a897d528ce5882b46ed197eacb2bbddf45c4c8 (patch)
tree70afa21d4f7c164193040ea1aa308208f0147bbe /addons/web/static/src/js/views/basic/basic_controller.js
parentbf8d288d04759970a884c8f3998acd7448adea2d (diff)
[IMP] point_of_sale: get login_number in the same transaction as update it
Otherwise, if two POS stations are using the same user with the same pos.config, i.e. create two session AND if you have bad luck, then those sessions will get same login_number, which leads to losing half of orders, because POS stations will generate same pos_reference and only first order from the POSes is saved, while another order is lost without let know to cashier. closes odoo/odoo#24486 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions