mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[MIG] account_move_base_import: Migration to 14.0
This commit is contained in:
@@ -123,7 +123,7 @@ class FileParser(AccountMoveImportParser):
|
||||
csv_file = tempfile.NamedTemporaryFile()
|
||||
csv_file.write(self.filebuffer)
|
||||
csv_file.flush()
|
||||
with open(csv_file.name, "rU") as fobj:
|
||||
with open(csv_file.name, "r") as fobj:
|
||||
reader = UnicodeDictReader(
|
||||
fobj, fieldnames=self.fieldnames, dialect=self.dialect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user