diff --git a/counter/forms.py b/counter/forms.py index 0ca6da0a..4d996115 100644 --- a/counter/forms.py +++ b/counter/forms.py @@ -507,8 +507,6 @@ class ProductForm(forms.ModelForm): self.fields["name"].widget.attrs["autofocus"] = "autofocus" if self.instance.id: self.fields["counters"].initial = self.instance.counters.all() - if hasattr(self.instance, "formula"): - self.formula_init(self.instance.formula) self.price_formset = ProductPriceFormSet( *args, instance=self.instance, prefix="price", **kwargs )