G

Untitled

public
Guest Sep 04, 2024 Never 21
Clone
Plaintext paste1.txt 98 lines (88 loc) | 5.11 KB
1
RPC_ERROR
2
Odoo Server Error
3
Traceback (most recent call last):
4
File "/usr/lib/python3/dist-packages/odoo/api.py", line 886, in get
5
return field_cache[record._ids[0]]
6
KeyError: 6
7
8
During handling of the above exception, another exception occurred:
9
10
Traceback (most recent call last):
11
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1082, in __get__
12
value = env.cache.get(record, self)
13
File "/usr/lib/python3/dist-packages/odoo/api.py", line 889, in get
14
raise CacheMiss(record, field)
15
odoo.exceptions.CacheMiss: 'crm.lead(6,).quotation_count'
16
17
During handling of the above exception, another exception occurred:
18
19
Traceback (most recent call last):
20
File "/usr/lib/python3/dist-packages/odoo/api.py", line 886, in get
21
return field_cache[record._ids[0]]
22
KeyError: 6
23
24
During handling of the above exception, another exception occurred:
25
26
Traceback (most recent call last):
27
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1082, in __get__
28
value = env.cache.get(record, self)
29
File "/usr/lib/python3/dist-packages/odoo/api.py", line 889, in get
30
raise CacheMiss(record, field)
31
odoo.exceptions.CacheMiss: 'sale.order(6,).state'
32
33
The above exception was the direct cause of the following exception:
34
35
Traceback (most recent call last):
36
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
37
result = request.dispatch()
38
File "/usr/lib/python3/dist-packages/odoo/http.py", line 698, in dispatch
39
result = self._call_function(**self.params)
40
File "/usr/lib/python3/dist-packages/odoo/http.py", line 368, in _call_function
41
return checked_call(self.db, *args, **kwargs)
42
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
43
return f(dbname, *args, **kwargs)
44
File "/usr/lib/python3/dist-packages/odoo/http.py", line 357, in checked_call
45
result = self.endpoint(*a, **kw)
46
File "/usr/lib/python3/dist-packages/odoo/http.py", line 921, in __call__
47
return self.method(*args, **kw)
48
File "/usr/lib/python3/dist-packages/odoo/http.py", line 546, in response_wrap
49
response = f(*args, **kw)
50
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1324, in call_kw
51
return self._call_kw(model, method, args, kwargs)
52
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1316, in _call_kw
53
return call_kw(request.env[model], method, args, kwargs)
54
File "/usr/lib/python3/dist-packages/odoo/api.py", line 464, in call_kw
55
result = _call_kw_multi(method, model, args, kwargs)
56
File "/usr/lib/python3/dist-packages/odoo/api.py", line 451, in _call_kw_multi
57
result = method(recs, *args, **kwargs)
58
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3236, in read
59
return self._read_format(fnames=fields, load=load)
60
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3256, in _read_format
61
vals[name] = convert(record[name], record, use_name_get)
62
File "/usr/lib/python3/dist-packages/odoo/models.py", line 5917, in __getitem__
63
return self._fields[key].__get__(self, type(self))
64
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1131, in __get__
65
self.compute_value(recs)
66
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1290, in compute_value
67
records._compute_field_value(self)
68
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 411, in _compute_field_value
69
return super()._compute_field_value(field)
70
File "/usr/lib/python3/dist-packages/odoo/models.py", line 4270, in _compute_field_value
71
fields.determine(field.compute, self)
72
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 87, in determine
73
return needle(*args)
74
File "/usr/lib/python3/dist-packages/odoo/addons/sale_crm/models/crm_lead.py", line 25, in _compute_sale_data
75
if order.state in ('draft', 'sent'):
76
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1108, in __get__
77
recs._fetch_field(self)
78
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3285, in _fetch_field
79
self._read(fnames)
80
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3352, in _read
81
cr.execute(query_str, params + [sub_ids])
82
File "<decorator-gen-3>", line 2, in execute
83
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 90, in check
84
return f(self, *args, **kwargs)
85
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 311, in execute
86
res = self._obj.execute(query, params)
87
Exception
88
89
The above exception was the direct cause of the following exception:
90
91
Traceback (most recent call last):
92
File "/usr/lib/python3/dist-packages/odoo/http.py", line 654, in _handle_exception
93
return super(JsonRequest, self)._handle_exception(exception)
94
File "/usr/lib/python3/dist-packages/odoo/http.py", line 301, in _handle_exception
95
raise exception.with_traceback(None) from new_cause
96
psycopg2.errors.UndefinedColumn: column sale_order.order_details_in_header does not exist
97
LINE 1: ...how_optional_product" as "show_optional_product", "sale_orde...
98
^
99