From a9caef0ebbc7f3288e06f352f5bb817861e9689c Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Tue, 12 Dec 2017 15:16:46 +0100 Subject: [PATCH] [FIX] point_of_sale: Enable Price Control Steps to reproduce the bug: POS -> Settings -> Enable Price Control. Login with user with POS -> Manager rights Open POS Session. Bug: Price Option was disable. opw:784422 --- addons/point_of_sale/static/src/js/models.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/point_of_sale/static/src/js/models.js b/addons/point_of_sale/static/src/js/models.js index 1b774ccaa0e..90c6eafe09d 100644 --- a/addons/point_of_sale/static/src/js/models.js +++ b/addons/point_of_sale/static/src/js/models.js @@ -276,6 +276,7 @@ exports.PosModel = Backbone.Model.extend({ // replace the current user with its updated version if (user.id === self.user.id) { self.user = user; + self.set_cashier(user); } } self.users = pos_users;