Add missing change for Eventbrite
I'd accidentally left this off the last commit.
This commit is contained in:
parent
111b1fdf30
commit
bab4f29a02
2 changed files with 3 additions and 3 deletions
|
@ -27,8 +27,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['Payment status'] != 'Eventbrite Completed':
|
||||||
if row['Order Type'] == 'Free Order':
|
if row['Payment status'] == '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])
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -30,7 +30,7 @@ REQUIREMENTS['tests_require'] = [
|
||||||
setup(
|
setup(
|
||||||
name='import2ledger',
|
name='import2ledger',
|
||||||
description="Import different sources of financial data to Ledger",
|
description="Import different sources of financial data to Ledger",
|
||||||
version='1.4.6',
|
version='1.4.7',
|
||||||
author='Brett Smith',
|
author='Brett Smith',
|
||||||
author_email='brettcsmith@brettcsmith.org',
|
author_email='brettcsmith@brettcsmith.org',
|
||||||
license='GNU AGPLv3+',
|
license='GNU AGPLv3+',
|
||||||
|
|
Loading…
Add table
Reference in a new issue