Include sales with status Partial Refund in Eventbrite imports
This commit is contained in:
parent
8b0fd52602
commit
950c7fd644
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ class SalesImporter(_csv.CSVImporterBase):
|
||||||
ENTRY_SEED = {'currency': 'USD'}
|
ENTRY_SEED = {'currency': 'USD'}
|
||||||
|
|
||||||
def _read_row(self, row):
|
def _read_row(self, row):
|
||||||
if row['Order Type'] != 'Eventbrite Completed':
|
# if row['Order Type'] != 'Eventbrite Completed':
|
||||||
|
if row['Order Type'] == 'Free Order':
|
||||||
return None
|
return None
|
||||||
retval = {
|
retval = {
|
||||||
self.DECIMAL_FIELDS[key]: strparse.currency_decimal(row[key])
|
self.DECIMAL_FIELDS[key]: strparse.currency_decimal(row[key])
|
||||||
|
|
Loading…
Reference in a new issue