Advertisement
ego201982

Vista de sessiones POS Rustipower

Oct 25th, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 KB | Fixit | 0 0
  1. RPC_ERROR
  2. Odoo Server Error
  3. Traceback (most recent call last):
  4. File "/home/odoo/src/odoo/odoo/api.py", line 891, in get
  5. return field_cache[record._ids[0]]
  6. KeyError: 896
  7.  
  8. During handling of the above exception, another exception occurred:
  9.  
  10. Traceback (most recent call last):
  11. File "/home/odoo/src/odoo/odoo/fields.py", line 1082, in __get__
  12. value = env.cache.get(record, self)
  13. File "/home/odoo/src/odoo/odoo/api.py", line 894, in get
  14. raise CacheMiss(record, field)
  15. odoo.exceptions.CacheMiss: 'pos.session(896,).currency_rate'
  16.  
  17. During handling of the above exception, another exception occurred:
  18.  
  19. Traceback (most recent call last):
  20. File "/home/odoo/src/odoo/odoo/api.py", line 891, in get
  21. return field_cache[record._ids[0]]
  22. KeyError: 896
  23.  
  24. During handling of the above exception, another exception occurred:
  25.  
  26. Traceback (most recent call last):
  27. File "/home/odoo/src/odoo/odoo/fields.py", line 1135, in __get__
  28. value = env.cache.get(record, self)
  29. File "/home/odoo/src/odoo/odoo/api.py", line 894, in get
  30. raise CacheMiss(record, field)
  31. odoo.exceptions.CacheMiss: 'pos.session(896,).currency_rate'
  32.  
  33. The above exception was the direct cause of the following exception:
  34.  
  35. Traceback (most recent call last):
  36. File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
  37. result = request.dispatch()
  38. File "/home/odoo/src/odoo/odoo/http.py", line 698, in dispatch
  39. result = self._call_function(**self.params)
  40. File "/home/odoo/src/odoo/odoo/http.py", line 368, in _call_function
  41. return checked_call(self.db, *args, **kwargs)
  42. File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper
  43. return f(dbname, *args, **kwargs)
  44. File "/home/odoo/src/odoo/odoo/http.py", line 357, in checked_call
  45. result = self.endpoint(*a, **kw)
  46. File "/home/odoo/src/odoo/odoo/http.py", line 921, in __call__
  47. return self.method(*args, **kw)
  48. File "/home/odoo/src/odoo/odoo/http.py", line 546, in response_wrap
  49. response = f(*args, **kw)
  50. File "/home/odoo/src/user/Cnunes8/rustipower_third_s_apps/ks_list_view_manager/controllers/lvm_controller.py", line 16, in call_kw
  51. call_kw_result = super(LvmController, self).call_kw(model, method, args, kwargs, path)
  52. File "/home/odoo/src/odoo/odoo/http.py", line 546, in response_wrap
  53. response = f(*args, **kw)
  54. File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1324, in call_kw
  55. return self._call_kw(model, method, args, kwargs)
  56. File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1316, in _call_kw
  57. return call_kw(request.env[model], method, args, kwargs)
  58. File "/home/odoo/src/odoo/odoo/api.py", line 469, in call_kw
  59. result = _call_kw_multi(method, model, args, kwargs)
  60. File "/home/odoo/src/odoo/odoo/api.py", line 456, in _call_kw_multi
  61. result = method(recs, *args, **kwargs)
  62. File "/home/odoo/src/odoo/odoo/models.py", line 3235, in read
  63. return self._read_format(fnames=fields, load=load)
  64. File "/home/odoo/src/odoo/odoo/models.py", line 3255, in _read_format
  65. vals[name] = convert(record[name], record, use_name_get)
  66. File "/home/odoo/src/odoo/odoo/models.py", line 5916, in __getitem__
  67. return self._fields[key].__get__(self, type(self))
  68. File "/home/odoo/src/odoo/odoo/fields.py", line 1138, in __get__
  69. raise ValueError("Compute method failed to assign %s.%s" % (record, self.name))
  70. Exception
  71.  
  72. The above exception was the direct cause of the following exception:
  73.  
  74. Traceback (most recent call last):
  75. File "/home/odoo/src/odoo/odoo/http.py", line 654, in _handle_exception
  76. return super(JsonRequest, self)._handle_exception(exception)
  77. File "/home/odoo/src/odoo/odoo/http.py", line 301, in _handle_exception
  78. raise exception.with_traceback(None) from new_cause
  79. ValueError: Compute method failed to assign pos.session(896,).currency_rate
  80.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement