Follow-up on migration

This commit is contained in:
Matthieu Dietrich
2016-04-27 10:49:20 +02:00
parent 3adb27ef0e
commit 0698aed426
14 changed files with 102 additions and 45 deletions

View File

@@ -40,7 +40,7 @@ class FileParser(AccountMoveImportParser):
"""
def __init__(self, parse_name, ftype='csv', extra_fields=None, header=None,
dialect=None, **kwargs):
dialect=None, move_ref=None, **kwargs):
"""
:param char: parse_name: The name of the parser
:param char: ftype: extension of the file (could be csv, xls or
@@ -63,6 +63,7 @@ class FileParser(AccountMoveImportParser):
# 0 means Windows mode (1900 based dates).
# Set in _parse_xls, from the contents of the file
self.dialect = dialect
self.move_ref = move_ref
def _custom_format(self, *args, **kwargs):
"""No other work on data are needed in this parser."""