From: Frédéric van der Essen Date: Fri, 7 Feb 2014 16:16:47 +0000 (+0100) Subject: [FIX] point_of_sale: totals were not rendrered on firefox due to use of nonstandard... X-Git-Tag: InsPy_master01~566^2~10^2~2 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=356010c3575316fc1dff0dfeb4d1038f9c399f21;p=odoo%2Fodoo.git [FIX] point_of_sale: totals were not rendrered on firefox due to use of nonstandard innerText dom property bzr revid: fva@openerp.com-20140207161647-rgeymwt4ksei2cod --- diff --git a/addons/point_of_sale/static/src/js/widgets.js b/addons/point_of_sale/static/src/js/widgets.js index f2a2545..a2f0759 100644 --- a/addons/point_of_sale/static/src/js/widgets.js +++ b/addons/point_of_sale/static/src/js/widgets.js @@ -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); }, });