[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
This commit is contained in:
Frédéric van der Essen 2014-02-07 17:16:47 +01:00
parent 4232de7bf2
commit 356010c357
1 changed files with 2 additions and 2 deletions

View 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);
},
});