diff --git a/static/src/js/container.js b/static/src/js/container.js index f3496b0..e09c6b9 100644 --- a/static/src/js/container.js +++ b/static/src/js/container.js @@ -313,7 +313,7 @@ odoo.define('vracoop_pos_free_balance_v2.container_balance', function (require) self.set_weight(scale_answer.weight); if ((scale_answer.error === '30' || scale_answer.error === '31') && scale_answer.weight !== 0) { self.gui.show_screen(self.next_screen); - if (this.pos.config.is_comptoir) { + if (self.pos.config.is_comptoir) { self.create_container(); } }