forked from CGM_Public/pretix_original
OrderChangeManager: Fix invoice regeneration on tax rate change
This commit is contained in:
@@ -1609,6 +1609,7 @@ class OrderChangeManager:
|
||||
override_tax_rate=new_rate)
|
||||
self._totaldiff += new_tax.gross - pos.price
|
||||
self._operations.append(self.PriceOperation(pos, new_tax, new_tax.gross - pos.price))
|
||||
self._invoice_dirty = True
|
||||
|
||||
def cancel_fee(self, fee: OrderFee):
|
||||
self._totaldiff -= fee.value
|
||||
|
||||
Reference in New Issue
Block a user