|
@@ -81,9 +81,9 @@ function expired_account_counters (widget) {
|
|
|
var defer = $.Deferred();
|
|
|
var fields =['id','name', 'currency_id', 'logo'];
|
|
|
var domain =[['id', '=', 1]];
|
|
|
- var resComapy = new model.web.Model('res.company');
|
|
|
+ var resCompany = new model.web.Model('res.company');
|
|
|
|
|
|
- resComapy.query(fields).filter(domain).all().then(function (results){
|
|
|
+ resCompany.query(fields).filter(domain).all().then(function (results) {
|
|
|
defer.resolve(results);
|
|
|
});
|
|
|
|
|
@@ -107,7 +107,7 @@ function expired_account_counters (widget) {
|
|
|
|
|
|
self.$el.find('.widget-content.widget-loading').css('display','none');
|
|
|
self.$el.find('.widget-content').find('a').text(accounting.formatNumber(residual,2, ".", ","));
|
|
|
- self.$el.find('.widget-footer').find('span').text("Monto en "+company);
|
|
|
+ self.$el.find('.widget-footer').find('span').text("Monto en " + company);
|
|
|
self.$el.find('.grid-stack-item-content dashboard').unblock();
|
|
|
}
|
|
|
});
|