[FIX] point_of_sale: totals were not rendrered on firefox due to use of nonstandard...
authorFrédéric van der Essen <fva@openerp.com>
Fri, 7 Feb 2014 16:16:47 +0000 (17:16 +0100)
committerFrédéric van der Essen <fva@openerp.com>
Fri, 7 Feb 2014 16:16:47 +0000 (17:16 +0100)
bzr revid: fva@openerp.com-20140207161647-rgeymwt4ksei2cod

addons/point_of_sale/static/src/js/widgets.js

index f2a2545..a2f0759 100644 (file)
@@ -258,8 +258,8 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
             var total     = order ? order.getTotalTaxIncluded() : 0;
             var taxes     = order ? total - order.getTotalTaxExcluded() : 0;
 
-            this.el.querySelector('.summary .total > .value').innerText = this.format_currency(total);
-            this.el.querySelector('.summary .total .subentry .value').innerText = this.format_currency(taxes);
+            this.el.querySelector('.summary .total > .value').textContent = this.format_currency(total);
+            this.el.querySelector('.summary .total .subentry .value').textContent = this.format_currency(taxes);
         },
     });