From d4a2b7ec3387c181fa10a353d85b78372ce1450f Mon Sep 17 00:00:00 2001 From: imperosol Date: Thu, 14 May 2026 12:27:44 +0200 Subject: [PATCH] add clic limit to product form --- counter/forms.py | 1 + counter/templates/counter/product_form.jinja | 1 + 2 files changed, 2 insertions(+) diff --git a/counter/forms.py b/counter/forms.py index 2003c9a7..8a631faa 100644 --- a/counter/forms.py +++ b/counter/forms.py @@ -409,6 +409,7 @@ class ProductForm(forms.ModelForm): "club", "limit_age", "tray", + "clic_limit", "archived", ] help_texts = { diff --git a/counter/templates/counter/product_form.jinja b/counter/templates/counter/product_form.jinja index e31fc9b2..be1fd850 100644 --- a/counter/templates/counter/product_form.jinja +++ b/counter/templates/counter/product_form.jinja @@ -118,6 +118,7 @@ +
{{ form.clic_limit.as_field_group() }}
{{ form.counters.as_field_group() }}

{% trans %}Prices{% endtrans %}