diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-15 10:32:39 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-15 10:32:39 +0700 |
| commit | 0ace4356bdbe27c3acd75c33d5259ef950eecb24 (patch) | |
| tree | 7424c60a500525b2c647887d1e2e4569ebda50bb | |
| parent | a21fc77edfba8d2d645f4ddf224fb097aea61d0a (diff) | |
limit func update_internal_reference
| -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 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: |
