diff --git a/pos_product_template/__manifest__.py b/pos_product_template/__manifest__.py index c950ff63..a61dacd1 100644 --- a/pos_product_template/__manifest__.py +++ b/pos_product_template/__manifest__.py @@ -8,6 +8,7 @@ 'license': 'AGPL-3', 'depends': [ 'point_of_sale', + 'pos_fix_search_limit', ], 'data': [ 'view/view.xml', diff --git a/pos_product_template/static/src/js/ppt.js b/pos_product_template/static/src/js/ppt.js index 6a4ce8ef..f97ecd4c 100644 --- a/pos_product_template/static/src/js/ppt.js +++ b/pos_product_template/static/src/js/ppt.js @@ -212,7 +212,7 @@ odoo.define("pos_product_template.pos_product_template", function(require){ filter_variant: function(){ var value_list = []; for (var item in this.filters){ - value_list.push(parseInt(this.filters[item])); + value_list.push(parseInt(this.filters[item], 10)); } this.filter_variant_list = []; for (var index in this.variant_list){