diff --git a/pos_access_right/static/src/js/pos_access_right.js b/pos_access_right/static/src/js/pos_access_right.js index 3a06c256..458e273e 100644 --- a/pos_access_right/static/src/js/pos_access_right.js +++ b/pos_access_right/static/src/js/pos_access_right.js @@ -171,7 +171,7 @@ odoo.define('pos_access_right.pos_access_right', function (require) { var group_discount_id = this.pos.config.group_discount_id[0]; var group_price_id = this.pos.config.group_change_unit_price_id[0]; var v_gui = this.gui; - var data_mode= event.currentTarget.attributes['data-mode'] + var data_mode= event.currentTarget.attributes['data-mode']; records.then(function (result) { groups_id = result[0].groups_id; if (event.currentTarget.attributes['data-mode'].nodeValue ===