[FIX] point_of_sale: do not use local jquery replace inside widget

This commit is contained in:
Frederic van der Essen 2014-07-01 15:01:28 +02:00
parent 94c23e16d5
commit 371ba83206
1 changed files with 2 additions and 2 deletions

View File

@ -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(){