Replace Item.hidden_if_available with relationship to other Item (#3686)

* draft

* Implementation that is closer to old one

* Fix tests

* Add tests

* Update src/pretix/control/forms/item.py

Co-authored-by: Richard Schreiber <schreiber@rami.io>

* Review notes

---------

Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
Raphael Michel
2023-11-06 13:26:32 +01:00
committed by GitHub
parent 3d68c83907
commit 3af2342d7b
15 changed files with 235 additions and 54 deletions

View File

@@ -4255,7 +4255,7 @@ msgstr "Produktbild"
#: pretix/base/models/items.py:491
msgid "Only show after sellout of"
msgstr "Nicht anzeigen, wenn anderes Kontingent verfügbar"
msgstr "Nicht anzeigen, wenn anderes Produkt verfügbar"
#: pretix/base/models/items.py:492
msgid ""

View File

@@ -4252,7 +4252,7 @@ msgstr "Produktbild"
#: pretix/base/models/items.py:491
msgid "Only show after sellout of"
msgstr "Nicht anzeigen, wenn anderes Kontingent verfügbar"
msgstr "Nicht anzeigen, wenn anderes Produkt verfügbar"
#: pretix/base/models/items.py:492
msgid ""