diff options
| author | Joseph Caburnay <jcb@odoo.com> | 2020-05-05 07:59:21 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2020-05-12 12:48:58 +0000 |
| commit | e773761d1038aab944f91c233d50fe2c4fb3914b (patch) | |
| tree | 973bbf20374660d79d6c7d7af7f0bf5af298f048 /addons/pos_cache/static | |
| parent | 82b89762b75c49d85fd2548b105c8a6b7533b749 (diff) | |
[REF] pos_cache: migration to OWL framework
Diffstat (limited to 'addons/pos_cache/static')
| -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]}); |
