Skip to Content
Menu
This question has been flagged
1175 Views

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/api\.py",\ line\ 886,\ in\ get
\ \ \ \ return\ field_cache\[record\._ids\[0\]\]
KeyError:\ 12072

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/home/odoo/src/odoo/odoo/fields\.py",\ line\ 1061,\ in\ _get_
\ \ \ \ value\ =\ env\.cache\.get\(record,\ self\)
\ \ File\ "/home/odoo/src/odoo/odoo/api\.py",\ line\ 889,\ in\ get
\ \ \ \ raise\ CacheMiss\(record,\ field\)
odoo\.exceptions\.CacheMiss:\ 'stock\.move\.line\(12072,\)\.x_studio_product_cost'

The\ above\ exception\ was\ the\ direct\ cause\ of\ the\ following\ exception:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/home/odoo/src/odoo/odoo/addons/base/models/ir_http\.py",\ line\ 237,\ in\ _dispatch
\ \ \ \ result\ =\ request\.dispatch\(\)
\ \ File\ "/home/odoo/src/odoo/odoo/http\.py",\ line\ 687,\ in\ dispatch
\ \ \ \ result\ =\ self\._call_function\(\*\*self\.params\)
\ \ File\ "/home/odoo/src/odoo/odoo/http\.py",\ line\ 359,\ in\ _call_function
\ \ \ \ return\ checked_call\(self\.db,\ \*args,\ \*\*kwargs\)
\ \ File\ "/home/odoo/src/odoo/odoo/service/model\.py",\ line\ 94,\ in\ wrapper
\ \ \ \ return\ f\(dbname,\ \*args,\ \*\*kwargs\)
\ \ File\ "/home/odoo/src/odoo/odoo/http\.py",\ line\ 348,\ in\ checked_call
\ \ \ \ result\ =\ self\.endpoint\(\*a,\ \*\*kw\)
\ \ File\ "/home/odoo/src/odoo/odoo/http\.py",\ line\ 916,\ in\ _call_
\ \ \ \ return\ self\.method\(\*args,\ \*\*kw\)
\ \ File\ "/home/odoo/src/odoo/odoo/http\.py",\ line\ 535,\ in\ response_wrap
\ \ \ \ response\ =\ f\(\*args,\ \*\*kw\)
\ \ File\ "/home/odoo/src/odoo/addons/web/controllers/main\.py",\ line\ 1300,\ in\ search_read
\ \ \ \ return\ self\.do_search_read\(model,\ fields,\ offset,\ limit,\ domain,\ sort\)
\ \ File\ "/home/odoo/src/odoo/addons/web/controllers/main\.py",\ line\ 1319,\ in\ do_search_read
\ \ \ \ return\ Model\.web_search_read\(domain,\ fields,\ offset=offset,\ limit=limit,\ order=sort\)
\ \ File\ "/home/odoo/src/odoo/addons/web/models/models\.py",\ line\ 62,\ in\ web_search_read
\ \ \ \ records\ =\ self\.search_read\(domain,\ fields,\ offset=offset,\ limit=limit,\ order=order\)
\ \ File\ "/home/odoo/src/odoo/odoo/models\.py",\ line\ 5055,\ in\ search_read
\ \ \ \ result\ =\ records\.read\(fields,\ \*\*read_kwargs\)
\ \ File\ "/home/odoo/src/odoo/odoo/models\.py",\ line\ 3227,\ in\ read
\ \ \ \ return\ self\._read_format\(fnames=fields,\ load=load\)
\ \ File\ "/home/odoo/src/odoo/odoo/models\.py",\ line\ 3247,\ in\ _read_format
\ \ \ \ vals\[name\]\ =\ convert\(record\[name\],\ record,\ use_name_get\)
\ \ File\ "/home/odoo/src/odoo/odoo/models\.py",\ line\ 5893,\ in\ _getitem_
\ \ \ \ return\ self\.fields\[key\]\.get_\(self,\ type\(self\)\)
\ \ File\ "/home/odoo/src/odoo/odoo/fields\.py",\ line\ 1110,\ in\ _get_
\ \ \ \ self\.compute_value\(recs\)
\ \ File\ "/home/odoo/src/odoo/odoo/fields\.py",\ line\ 1256,\ in\ compute_value
\ \ \ \ fields\ =\ records\.pool\.field_computed\[self\]
Exception

The\ above\ exception\ was\ the\ direct\ cause\ of\ the\ following\ exception:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/home/odoo/src/odoo/odoo/http\.py",\ line\ 643,\ in\ _handle_exception
\ \ \ \ return\ super\(JsonRequest,\ self\)\._handle_exception\(exception\)
\ \ File\ "/home/odoo/src/odoo/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
KeyError: stock.move.line.x_studio_product_cost

Avatar
Discard