Browse Source

[FIX] cache currency info

pull/1/head
Ivan Yelizariev 10 years ago
parent
commit
a333666938
  1. 2
      static/src/js/main.js

2
static/src/js/main.js

@ -90,7 +90,7 @@ openerp.mail_wall_widgets = function(instance) {
'digits': digits 'digits': digits
} }
}); });
money_field.set('currency', currency_id);
//money_field.set('currency', currency_id);
money_field.set('value', parseInt(parseFloat($(this).text(), 10)/precision)*precision); money_field.set('value', parseInt(parseFloat($(this).text(), 10)/precision)*precision);
money_field.replace($(this)); money_field.replace($(this));

Loading…
Cancel
Save