diff --git a/pos_product_sequence-16.0.1.0.zip b/pos_product_sequence-16.0.1.0.zip new file mode 100644 index 0000000..5191b5a Binary files /dev/null and b/pos_product_sequence-16.0.1.0.zip differ diff --git a/pos_product_sequence/static/description/index.html b/pos_product_sequence/static/description/index.html index 3657b6f..547d9b5 100644 --- a/pos_product_sequence/static/description/index.html +++ b/pos_product_sequence/static/description/index.html @@ -135,7 +135,7 @@
4th - January, 2021 + Octember, 2022
diff --git a/pos_product_sequence/static/src/js/models.js b/pos_product_sequence/static/src/js/models.js index f01493e..0e2a4d8 100644 --- a/pos_product_sequence/static/src/js/models.js +++ b/pos_product_sequence/static/src/js/models.js @@ -29,21 +29,6 @@ odoo.define('pos_product_sequence.models', function(require) { }, }); - models.PosModel.prototype.models.some(function(model) { - if (model.model !== 'product.product') { - return false; - } - // add name and attribute_value_ids to list of fields - // to fetch for product.product - ['pos_sequence'].forEach(function(field) { - if (model.fields.indexOf(field) == -1) { - model.fields.push(field); - } - }); - model['order'] = _.map(['pos_sequence', 'sequence', 'default_code', 'name'], function(name) { return { name: name }; }); - return true; //exit early the iteration of this.models - }); - const BiProductsTemplateWidget = (ProductsWidget) => class extends ProductsWidget { constructor() {