|
@@ -143,7 +143,6 @@ Define : pos_product_template.SelectVariantPopupWidget
|
|
|
show: function(product_tmpl_id){
|
|
|
var self = this;
|
|
|
var template = this.pos.db.template_by_id[product_tmpl_id];
|
|
|
- // console.log(template);
|
|
|
|
|
|
// Display Name of Template
|
|
|
this.$('#variant-title-name').html(template.name);
|
|
@@ -256,7 +255,6 @@ Define: pos_product_template.VariantListWidget
|
|
|
|
|
|
renderElement: function() {
|
|
|
var self = this;
|
|
|
- // console.log(variant);
|
|
|
var el_html = openerp.qweb.render(this.template, {widget: this});
|
|
|
var el_node = document.createElement('div');
|
|
|
el_node.innerHTML = el_html;
|
|
@@ -376,7 +374,6 @@ Define: pos_product_template.AttributeListWidget
|
|
|
this.el.parentNode.replaceChild(el_node,this.el);
|
|
|
}
|
|
|
this.el = el_node;
|
|
|
- // console.log(variant);
|
|
|
|
|
|
var list_container = el_node.querySelector('.attribute-list');
|
|
|
for(var i = 0, len = this.attribute_list.length; i < len; i++){
|