Sfoglia il codice sorgente

[FIX] limpiado los console.logs del .js

Rodney Elpidio Enciso Arias 7 anni fa
parent
commit
8a33bac176
2 ha cambiato i file con 2 aggiunte e 5 eliminazioni
  1. 2 2
      __openerp__.py
  2. 0 3
      static/src/js/ppt.js

+ 2 - 2
__openerp__.py

@@ -22,7 +22,7 @@
 {
     'name': 'Point Of Sale - Product Template',
     'summary': 'Manage Product Template in Front End Point Of Sale',
-    'version': '8.0.0.2.0',
+    'version': '8.0.0.2.1',
     'category': 'Point Of Sale',
     'description': """
 Manage Product Template in Front End Point Of Sale
@@ -55,7 +55,7 @@ Copyright, Authors and Licence:
     * Author:
         * Sylvain LE GAL (https://twitter.com/legalsylvain);
     * Licence: AGPL-3 (http://www.gnu.org/licenses/);""",
-    'author': "Akretion,Odoo Community Association (OCA)",
+    'author': "Akretion,Odoo Community Association (OCA), Eiru",
     'website': 'http://www.akretion.com',
     'license': 'AGPL-3',
     'depends': [

+ 0 - 3
static/src/js/ppt.js

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