diff options
Diffstat (limited to 'addons/pos_cache/static/src/js/pos_cache.js')
| -rw-r--r-- | addons/pos_cache/static/src/js/pos_cache.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/pos_cache/static/src/js/pos_cache.js b/addons/pos_cache/static/src/js/pos_cache.js index 1b59761bc26..44135607b15 100644 --- a/addons/pos_cache/static/src/js/pos_cache.js +++ b/addons/pos_cache/static/src/js/pos_cache.js @@ -35,7 +35,7 @@ models.PosModel = models.PosModel.extend({ method: 'get_products_from_cache', args: [self.pos_session.config_id[0], product_fields, product_domain], }); - self.chrome.loading_message(_t('Loading') + ' product.product', 1); + self.setLoadingMessage(_t('Loading') + ' product.product', 1); return records.then(function (products) { self.db.add_products(_.map(products, function (product) { product.categ = _.findWhere(self.product_categories, {'id': product.categ_id[0]}); |
