Buongiorno, ho un problema sul modulo fatturazione, precisamente quando eseguo una modifica sull'estratto conto bancario, solo il nome è possibile modificarlo, qualsiasi altro campo mi da il seguente errore:
Traceback (most recent call last):
File "MyWinServer\server\odoo\api.py", line 997, in get
cache_value = field_cache[record._ids[0]]
KeyError:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "MyWinServer\server\odoo\fields.py", line 1161, in __get__
value = env.cache.get(record, self)
File "MyWinServer\server\odoo\api.py", line 1004, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'account.bank.statement.line(,).running_balance'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "MyWinServer\server\odoo\http.py", line 1638, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "MyWinServer\server\odoo\service\model.py", line 133, in retrying
result = func()
File "MyWinServer\server\odoo\http.py", line 1665, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "MyWinServer\server\odoo\http.py", line 1869, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "MyWinServer\server\odoo\addons\website\models\ir_http.py", line 237, in _dispatch
response = super()._dispatch(endpoint)
File "MyWinServer\server\odoo\addons\base\models\ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "MyWinServer\server\odoo\http.py", line 700, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "MyWinServer\server\odoo\addons\web\controllers\dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "MyWinServer\server\odoo\addons\web\controllers\dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "MyWinServer\server\odoo\api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "MyWinServer\server\odoo\api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "MyWinServer\server\odoo\models.py", line 6539, in onchange
snapshot0 = Snapshot(record, nametree, fetch=(not first_call))
File "MyWinServer\server\odoo\models.py", line 6352, in __init__
self.fetch(name)
File "MyWinServer\server\odoo\models.py", line 6360, in fetch
self[name] = [Snapshot(line, tree[name]) for line in record[name]]
File "MyWinServer\server\odoo\models.py", line 6360, in
self[name] = [Snapshot(line, tree[name]) for line in record[name]]
File "MyWinServer\server\odoo\models.py", line 6352, in __init__
self.fetch(name)
File "MyWinServer\server\odoo\models.py", line 6362, in fetch
self[name] = record[name]
File "MyWinServer\server\odoo\models.py", line 5920, in __getitem__
return self._fields[key].__get__(self, self.env.registry[self._name])
File "MyWinServer\server\odoo\fields.py", line 1219, in __get__
raise ValueError(f"Compute method failed to assign {missing_recs}.{self.name}")
ValueError: Compute method failed to assign account.bank.statement.line(, , , , , ).running_balance
The above server error caused the following client error:
null
Premetto che le righe dell'estratto conto le elaboro con un batch che importa i miei estratti conto in automatico, ma fino ad ora non avevo mai avuto un simile problema. L'altro ieri ho aggiornato alcuni moduli, ho provato a fare un restart di odoo con il comando -u ... ma nulla.
Qualcuno saprebbe dirmi cosa posso fare per sistemare il tutto? Grazie.