diff --git a/static/src/css/style.css b/static/src/css/style.css index 1ccf67b..1c3c716 100644 --- a/static/src/css/style.css +++ b/static/src/css/style.css @@ -381,10 +381,10 @@ h1.product-name { height: 100%; } -.searchbox{ +/*.searchbox{ display: none; } - +*/ .pos .product-list-scroller{ padding-bottom: 200px; } \ No newline at end of file diff --git a/static/src/js/container.js b/static/src/js/container.js index 4f55a59..c72d8a5 100644 --- a/static/src/js/container.js +++ b/static/src/js/container.js @@ -411,7 +411,7 @@ odoo.define('vracoop_pos_free_balance_v2.container_balance', function (require) if ((scale_answer.error === '30' || scale_answer.error === '31') && scale_answer.weight !== 0) { self.set_weight(0); - self.pos.proxy.reset_tare(); + // self.pos.proxy.reset_tare(); } }); }, {duration: 500, repeat: true}); @@ -598,20 +598,18 @@ odoo.define('vracoop_pos_free_balance_v2.container_balance', function (require) this.$('.next,.back-presentation').click(function(){ // self.set_weight(0); self.set_price(0); - self.pos.proxy.reset_tare(); self.gui.show_screen('presentation'); }); $("#pos-header-text-confirm").removeClass('oe_hidden'); - var container = this.gui.get_current_screen_param('container'); - if (container) { - this.pos.proxy.reset_tare(); - } + // var container = this.gui.get_current_screen_param('container'); + // if (container) { + // this.pos.proxy.reset_tare(); + // } setTimeout(function(){ self.set_price(0); - self.pos.proxy.reset_tare(); self.gui.show_screen('presentation'); }, 5000);