问题描述
错误完全显示在“datev_import.end_date”行中,我该如何解决该问题?
这是我的代码:
def do_import(self,import_config={},import_struct={}):
errorlist = []
move_ids = []
for datev_import in self:
import_config,import_struct = self.get_import_defaults(datev_import)
if datev_import.account_moves:
self.reset_import()
self.env['import.datev.log'].create({
'parent_id': datev_import.id,'name': _("Import started!"),'state': 'info',})
if datev_import.datev_ascii_file:
importcsv = base64.decodestring(datev_import.datev_ascii_file)
vorlauf,errorlist = self._convert_to_unicode_dict(
importcsv,import_config,import_struct,errorlist,datev_import.start_date,datev_import.end_date
)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)