Fixed #87 -- Added deletion of products

This commit is contained in:
Raphael Michel
2015-08-13 18:27:19 +02:00
parent 56961337ae
commit 478d6af248
7 changed files with 84 additions and 3 deletions

View File

@@ -1748,7 +1748,8 @@ class OrderPosition(ObjectWithAnswers, Versionable):
)
item = VersionedForeignKey(
Item,
verbose_name=_("Item")
verbose_name=_("Item"),
related_name='positions'
)
variation = VersionedForeignKey(
ItemVariation,