summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindoteknik_custom/models/product_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py
index f67ab474..4c11dcef 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -153,7 +153,7 @@ class ProductTemplate(models.Model):
('type', '=', 'product'),
('active', '=', True),
('product_variant_ids', '!=', False),
- ])
+ ], limit=limit)
for template_with_variant in templates_with_variant:
for product in template_with_variant.product_variant_ids:
if product.default_code: