diff options
| -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) |
