From 4b38cc6590abcb58a0ca102a06063eb3db7ac1f4 Mon Sep 17 00:00:00 2001 From: Adrian Torres Date: Wed, 10 Jul 2019 14:59:37 +0200 Subject: [REM] *: calls to @api.multi Multi is the default api for methods, it is not necessary to explicitly decorate methods with it, adds clutter and most people use it because they see that the rest of the code uses it. Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'` --- addons/pos_cache/models/pos_cache.py | 1 - 1 file changed, 1 deletion(-) (limited to 'addons/pos_cache/models/pos_cache.py') diff --git a/addons/pos_cache/models/pos_cache.py b/addons/pos_cache/models/pos_cache.py index 30ca2d261c0..8987907f981 100644 --- a/addons/pos_cache/models/pos_cache.py +++ b/addons/pos_cache/models/pos_cache.py @@ -74,7 +74,6 @@ class pos_config(models.Model): else: return None - @api.multi def get_products_from_cache(self, fields, domain): cache_for_user = self._get_cache_for_user() -- cgit v1.2.3