From a09833c98b4dfeee1aff7bd8d5f899b2908e2146 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Mon, 10 Oct 2022 16:11:18 +0700 Subject: Update product_template.py --- indoteknik_custom/models/product_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3