Add basic transaction importer for Square -> CORE-POS

This commit is contained in:
Lance Edgar 2018-11-22 16:46:16 -06:00
parent 810d4726c3
commit 4193503719
7 changed files with 233 additions and 2 deletions

View file

@ -54,3 +54,12 @@ class ImportCOREPOS(commands.ImportSubcommand):
if 'args' in kwargs:
kwargs['corepos_dbkey'] = kwargs['args'].corepos_dbkey
return kwargs
class CoreImportSquare(commands.ImportFromCSV):
"""
Import transaction data from Square into CORE
"""
name = 'corepos-import-square'
description = __doc__.strip()
handler_spec = 'rattail_corepos.corepos.importing.square:FromSquareToCoreTrans'