parent
7360a30b27
commit
e208fe51db
|
@ -29,7 +29,7 @@ function openerp_pos_basewidget(instance, module){ //module is instance.point_of
|
|||
|
||||
if (typeof amount === 'number') {
|
||||
amount = round_di(amount,decimals).toFixed(decimals);
|
||||
amount = openerp.instances[this.session.name].web.format_value(parseFloat(amount), { type : 'float' });
|
||||
amount = openerp.instances[this.session.name].web.format_value(round_di(amount, decimals), { type: 'float', digits: [69, decimals]});
|
||||
}
|
||||
|
||||
if (currency.position === 'after') {
|
||||
|
|
Loading…
Reference in New Issue