forked from CGM_Public/pretix_original
Make error message about tax rules and gift cards easier to understand
This commit is contained in:
@@ -566,7 +566,7 @@ class ItemUpdateForm(I18nModelForm):
|
|||||||
if d['tax_rule'] and d['tax_rule'].rate > 0:
|
if d['tax_rule'] and d['tax_rule'].rate > 0:
|
||||||
self.add_error(
|
self.add_error(
|
||||||
'tax_rule',
|
'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.")
|
_("Gift card products should use a tax rule with a rate of 0% since sales tax will be applied when the gift card is redeemed.")
|
||||||
)
|
)
|
||||||
if d['admission']:
|
if d['admission']:
|
||||||
self.add_error(
|
self.add_error(
|
||||||
|
|||||||
Reference in New Issue
Block a user