|
Error:
|
|
Odoo Server Error
|
|
|
|
Traceback (most recent call last):
|
|
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
|
|
result = request.dispatch()
|
|
File "/opt/odoo/odoo/http.py", line 683, in dispatch
|
|
result = self._call_function(**self.params)
|
|
File "/opt/odoo/odoo/http.py", line 359, in _call_function
|
|
return checked_call(self.db, *args, **kwargs)
|
|
File "/opt/odoo/odoo/service/model.py", line 94, in wrapper
|
|
return f(dbname, *args, **kwargs)
|
|
File "/opt/odoo/odoo/http.py", line 347, in checked_call
|
|
result = self.endpoint(*a, **kw)
|
|
File "/opt/odoo/odoo/http.py", line 912, in __call__
|
|
return self.method(*args, **kw)
|
|
File "/opt/odoo/odoo/http.py", line 531, in response_wrap
|
|
response = f(*args, **kw)
|
|
File "/opt/odoo/odoo_tvone/ks_list_view_manager/controllers/lvm_controller.py", line 16, in call_kw
|
|
call_kw_result = super(LvmController, self).call_kw(model, method, args, kwargs, path)
|
|
File "/opt/odoo/odoo/http.py", line 531, in response_wrap
|
|
response = f(*args, **kw)
|
|
File "/opt/odoo/addons/web/controllers/main.py", line 1389, in call_kw
|
|
return self._call_kw(model, method, args, kwargs)
|
|
File "/opt/odoo/addons/web/controllers/main.py", line 1381, in _call_kw
|
|
return call_kw(request.env[model], method, args, kwargs)
|
|
File "/opt/odoo/odoo/api.py", line 399, in call_kw
|
|
result = _call_kw_multi(method, model, args, kwargs)
|
|
File "/opt/odoo/odoo/api.py", line 386, in _call_kw_multi
|
|
result = method(recs, *args, **kwargs)
|
|
File "/opt/odoo/odoo/models.py", line 6267, in onchange
|
|
record._onchange_eval(name, field_onchange[name], result)
|
|
File "/opt/odoo/odoo/models.py", line 6009, in _onchange_eval
|
|
method_res = method(self)
|
|
File "/opt/odoo/odoo_tvone/ap_customer_invoice/models/account_settlement.py", line 136, in _onchange_request
|
|
self.account_move_id = account_move.id
|
|
File "/opt/odoo/odoo/fields.py", line 3818, in __get__
|
|
raise ValueError("Expected singleton: %s" % record)
|
|
Exception
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/opt/odoo/odoo/http.py", line 639, in _handle_exception
|
|
return super(JsonRequest, self)._handle_exception(exception)
|
|
File "/opt/odoo/odoo/http.py", line 315, in _handle_exception
|
|
raise exception.with_traceback(None) from new_cause
|
|
ValueError: Expected singleton: account.move(112368, 79347)
|