mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
committed by
Raphael Michel
parent
1192e474c5
commit
e4b0a1613f
@@ -812,7 +812,7 @@ class OrderChangeManager:
|
||||
if price is None:
|
||||
price = get_price(item, variation, subevent=subevent, invoice_address=self._invoice_address)
|
||||
else:
|
||||
if item.tax_rule.tax_applicable(self._invoice_address):
|
||||
if item.tax_rule and item.tax_rule.tax_applicable(self._invoice_address):
|
||||
price = item.tax(price, base_price_is='gross')
|
||||
else:
|
||||
price = TaxedPrice(gross=price, net=price, tax=Decimal('0.00'), rate=Decimal('0.00'), name='')
|
||||
|
||||
Reference in New Issue
Block a user