From 371ba83206f04c867529c2ab845d8eef8d8da3a9 Mon Sep 17 00:00:00 2001 From: Frederic van der Essen Date: Tue, 1 Jul 2014 15:01:28 +0200 Subject: [PATCH] [FIX] point_of_sale: do not use local jquery replace inside widget --- addons/point_of_sale/static/src/js/screens.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/static/src/js/screens.js b/addons/point_of_sale/static/src/js/screens.js index db41cd8988a..2f2f5e57312 100644 --- a/addons/point_of_sale/static/src/js/screens.js +++ b/addons/point_of_sale/static/src/js/screens.js @@ -526,12 +526,12 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa }, product_list: this.pos.db.get_product_by_category(0) }); - this.product_list_widget.replace($('.placeholder-ProductListWidget')); + this.product_list_widget.replace(this.$('.placeholder-ProductListWidget')); this.product_categories_widget = new module.ProductCategoriesWidget(this,{ product_list_widget: this.product_list_widget, }); - this.product_categories_widget.replace($('.placeholder-ProductCategoriesWidget')); + this.product_categories_widget.replace(this.$('.placeholder-ProductCategoriesWidget')); }, show: function(){