Add missing context in call import_data for issue1765
This commit is contained in:
1 parent
0ee71de230
commit
61e31cd613
1 file changed
+2
-1
@@ -352,7 +352,8 @@ class WinImport(object):
|
||||
datas.append([x.decode(csv_data['combo']).encode('utf-8') \
|
||||
for x in line])
|
||||
try:
|
||||
res = rpc.execute('model', model, 'import_data', fields, datas)
|
||||
res = rpc.execute('model', model, 'import_data', fields, datas,
|
||||
rpc.CONTEXT)
|
||||
except Exception, exception:
|
||||
common.process_exception(exception, self.dialog)
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user