mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
replace unicode by ustr
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
import datetime
|
||||
from file_parser import FileParser
|
||||
from openerp.addons.account_statement_base_import.parser.file_parser import float_or_zero
|
||||
from openerp.loglevels import ustr
|
||||
try:
|
||||
import xlrd
|
||||
except:
|
||||
@@ -36,8 +37,8 @@ class GenericFileParser(FileParser):
|
||||
|
||||
def __init__(self, parse_name, ftype='csv', **kwargs):
|
||||
conversion_dict = {
|
||||
'ref': unicode,
|
||||
'label': unicode,
|
||||
'ref': ustr,
|
||||
'label': ustr,
|
||||
'date': datetime.datetime,
|
||||
'amount': float_or_zero,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user