mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Shredder: Only force download for tax-relevant data (#1801)
This commit is contained in:
@@ -82,6 +82,14 @@ class BaseDataShredder:
|
||||
"""
|
||||
return False
|
||||
|
||||
@property
|
||||
def require_download_confirmation(self):
|
||||
"""
|
||||
Indicates whether the data of this shredder needs to be downloaded, before it is actually shredded. By default
|
||||
this value is equal to the tax relevant flag.
|
||||
"""
|
||||
return self.tax_relevant
|
||||
|
||||
@property
|
||||
def verbose_name(self) -> str:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user