Merge branch 'counter' into 'master'

[Counter] - Buying group is now required

See merge request ae/Sith!239
This commit is contained in:
Antoine Bartuccio 2019-09-20 14:03:07 +02:00
commit b7db969f08

View File

@ -990,7 +990,7 @@ class ProductEditForm(forms.ModelForm):
show_help_text=False, show_help_text=False,
help_text="", help_text="",
label=_("Buying groups"), label=_("Buying groups"),
required=False, required=True,
) )
club = AutoCompleteSelectField("clubs", show_help_text=False) club = AutoCompleteSelectField("clubs", show_help_text=False)
counters = AutoCompleteSelectMultipleField( counters = AutoCompleteSelectMultipleField(