mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-22 23:42:25 +00:00
Product quantity must be positive
This commit is contained in:
parent
9c7cb07dec
commit
5b3361f086
@ -82,7 +82,7 @@ class Product(models.Model):
|
||||
verbose_name=_("Designation"),
|
||||
)
|
||||
|
||||
quantity = models.IntegerField(
|
||||
quantity = models.PositiveIntegerField(
|
||||
verbose_name=_("Quantity")
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user