Hello,
I have a error in Bank Statement Reconciliation, I cannot , I get this error "ValueError: Wrong value for account.payment.state: 'reconciled'".
Version : 12 CE
OS : Ubuntu
Docker
Version 12.0-20190128
Erreur:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 654, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 696, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 939, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 962, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 954, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 745, in call_kw
return _call_kw_model(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 718, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/account/models/reconciliation_widget.py", line 46, in process_bank_statement_line
datum.get('new_aml_dicts', []))
File "/usr/lib/python3/dist-packages/odoo/addons/account/models/account_bank_statement.py", line 602, in process_reconciliation
'name': self.statement_id.name or _("Bank Statement %s") % self.date,
File "", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 430, in _model_create_single
return create(self, arg)
File "/usr/lib/python3/dist-packages/odoo/addons/account/models/account_payment.py", line 521, in create
rslt = super(account_payment, self).create(vals)
File "", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 451, in _model_create_multi
return create(self, [arg])
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 273, in create
threads = super(MailThread, self).create(vals_list)
File "", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 452, in _model_create_multi
return create(self, arg)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3516, in create
records = self._create(data_list)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3602, in _create
col_val = field.convert_to_column(val, self, stored)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1934, in convert_to_column
value = self.convert_to_cache(value, record)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1946, in convert_to_cache
raise ValueError("Wrong value for %s: %r" % (self, value))
ValueError: Wrong value for account.payment.state: 'reconciled'