1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-20 17:41:55 +02:00

Product's amounts can be negative, in case of discounts (treasurers are free to generate what invoice they want)

This commit is contained in:
Yohann D'ANELLO
2020-03-24 22:01:02 +01:00
parent a33d373f6e
commit 432f14d9d1
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ class Product(models.Model):
verbose_name=_("Quantity")
)
amount = models.PositiveIntegerField(
amount = models.IntegerField(
verbose_name=_("Unit price")
)