issue on import_invoice v12 (#1,510)
Status: OPEN
Date: 28/06/2021
Assigned to
Contact
Tirth Mehta
tirth.mehta@browseinfo.in

Description
Hello, the import is giving me issues


Errore:
Odoo Server Error

Traceback (most recent call last):
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/http.py", line 656, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/http.py", line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/http.py", line 346, in _call_function
return checked_call(self.db, args, *kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/service/model.py", line 98, in wrapper
return f(dbname, args, *kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/http.py", line 941, in _call_
return self.method(*args, **kw)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/addons/web/controllers/main.py", line 966, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/addons/web/controllers/main.py", line 954, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/api.py", line 759, in call_kw
return _call_kw_multi(method, model, args, kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/api.py", line 746, in _call_kw_multi
result = method(recs, args, *kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20201015-py3.7.egg/odoo/addons/import_invoice_with_payment/models/invoice_with_payment.py", line 208, in import_csv
a1 = int(float(line[12]))
ValueError: could not convert string to float: '2017-06-26'


Message and communication history