mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[TYPO]
This commit is contained in:
@@ -130,7 +130,7 @@ class move_line_importer(orm.Model):
|
||||
"""Parse a decoded CSV file and return head list
|
||||
and data list
|
||||
:param csv_file: decoded CSV file
|
||||
:delimiter: CSV file delimiter char
|
||||
:param delimiter: CSV file delimiter char
|
||||
:returns: (head [list of first row], data [list of list])
|
||||
"""
|
||||
data = csv.reader(csv_file, delimiter=str(delimiter))
|
||||
@@ -142,7 +142,7 @@ class move_line_importer(orm.Model):
|
||||
|
||||
def format_messages(self, messages):
|
||||
"""Format error messages generated by the BaseModel.load method
|
||||
:parmam messages: return of BaseModel.load messages key
|
||||
:param messages: return of BaseModel.load messages key
|
||||
:returns: formatted string
|
||||
"""
|
||||
res = []
|
||||
@@ -161,7 +161,7 @@ class move_line_importer(orm.Model):
|
||||
Savepoints.
|
||||
:param imp_id: current importer id
|
||||
:param result: BaseModel.laod return {ids: list(int)|False, messages: [Message]}
|
||||
:params _do_commit: toggle commit management only used for testing purpose only
|
||||
:param _do_commit: toggle commit management only used for testing purpose only
|
||||
:returns: current importer id
|
||||
"""
|
||||
# Import sucessful
|
||||
@@ -223,7 +223,7 @@ class move_line_importer(orm.Model):
|
||||
:param imp_id: current importer id
|
||||
:param head: CSV file head (list of header)
|
||||
:param data: CSV file content (list of data list)
|
||||
:params _do_commit: toggle commit management only used for testing purpose only
|
||||
:param _do_commit: toggle commit management only used for testing purpose only
|
||||
:returns: current importer id
|
||||
"""
|
||||
state = msg = None
|
||||
|
||||
Reference in New Issue
Block a user