diff --git a/pos_product_template/static/src/js/ppt.js b/pos_product_template/static/src/js/ppt.js index 5780c86b..5eb0438b 100644 --- a/pos_product_template/static/src/js/ppt.js +++ b/pos_product_template/static/src/js/ppt.js @@ -124,11 +124,6 @@ Define : pos_product_template.SelectVariantPopupWidget module.SelectVariantPopupWidget = module.PopUpWidget.extend({ template:'SelectVariantPopupWidget', - init: function(parent, options) { - this._super(parent,options); - this.template_name = ''; - }, - start: function(){ var self = this; // Define Variant Widget @@ -150,7 +145,6 @@ Define : pos_product_template.SelectVariantPopupWidget var template = this.pos.db.template_by_id[product_tmpl_id]; // Display Name of Template - this.template_name = template.name; this.$('#variant-title-name').html(template.name); // Render Variants