More docs and payments

This commit is contained in:
Raphael Michel
2019-10-17 17:19:31 +02:00
parent 767e679140
commit 302966808e
3 changed files with 77 additions and 2 deletions

View File

@@ -429,6 +429,13 @@ class ItemUpdateForm(I18nModelForm):
'tax_rule',
_("Gift card products should not be associated with non-zero tax rates since sales tax will be applied when the gift card is redeemed.")
)
if d['admission']:
self.add_error(
'admission',
_(
"Gift card products should not be admission products at the same time."
)
)
return d
class Meta: