diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-10-10 16:11:18 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-10-10 16:11:18 +0700 |
| commit | a09833c98b4dfeee1aff7bd8d5f899b2908e2146 (patch) | |
| tree | 2c9a10497282b6edeb1ac7ed73536f1b6ca3851f | |
| parent | 9c7a238ffc015e4d63e51921c1a56f736db74fa0 (diff) | |
Update product_template.py
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index a51f0600..60bcf1b1 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -63,7 +63,7 @@ class ProductTemplate(models.Model): products = self.env['product.template'].search([ ('type', '=', 'product'), ('active', '=', True), - ('last_calculate_rating', '!=', False), + ('last_calculate_rating', '=', False), ], limit=5000) for product in products: print("Calculate Rating Product ", product) |
