Add a position number to the OrderPosition model

This commit is contained in:
Raphael Michel
2016-12-21 18:11:19 +01:00
parent 83057e48ec
commit ad60dadee4
2 changed files with 32 additions and 0 deletions

View File

@@ -440,6 +440,7 @@ class OrderPosition(AbstractPosition):
:param order: The order this position is a part of
:type order: Order
"""
positionid = models.PositiveIntegerField(default=1)
order = models.ForeignKey(
Order,
verbose_name=_("Order"),