Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RPC_ERROR
- Odoo Server Error
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/odoo/api.py", line 899, in get
- return field_cache[record._ids[0]]
- KeyError: 3276
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/odoo/fields.py", line 1083, in __get__
- value = env.cache.get(record, self)
- File "/home/odoo/src/odoo/odoo/api.py", line 902, in get
- raise CacheMiss(record, field)
- odoo.exceptions.CacheMiss: 'crm.lead(3276,).radio_generate_sale_order'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/odoo/api.py", line 899, in get
- return field_cache[record._ids[0]]
- KeyError: 3276
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/odoo/fields.py", line 1083, in __get__
- value = env.cache.get(record, self)
- File "/home/odoo/src/odoo/odoo/api.py", line 902, in get
- raise CacheMiss(record, field)
- odoo.exceptions.CacheMiss: 'crm.lead(3276,).quotation_count'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/odoo/api.py", line 899, in get
- return field_cache[record._ids[0]]
- KeyError: 6065
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/odoo/fields.py", line 1083, in __get__
- value = env.cache.get(record, self)
- File "/home/odoo/src/odoo/odoo/api.py", line 902, in get
- raise CacheMiss(record, field)
- odoo.exceptions.CacheMiss: 'sale.order(6065,).state'
- 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 242, in _dispatch
- result = request.dispatch()
- File "/home/odoo/src/odoo/odoo/http.py", line 702, in dispatch
- result = self._call_function(**self.params)
- File "/home/odoo/src/odoo/odoo/http.py", line 368, 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 357, in checked_call
- result = self.endpoint(*a, **kw)
- File "/home/odoo/src/odoo/odoo/http.py", line 925, in __call__
- return self.method(*args, **kw)
- File "/home/odoo/src/odoo/odoo/http.py", line 546, in response_wrap
- response = f(*args, **kw)
- File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1324, in call_kw
- return self._call_kw(model, method, args, kwargs)
- File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1316, in _call_kw
- return call_kw(request.env[model], method, args, kwargs)
- File "/home/odoo/src/odoo/odoo/api.py", line 471, in call_kw
- result = _call_kw_multi(method, model, args, kwargs)
- File "/home/odoo/src/odoo/odoo/api.py", line 456, in _call_kw_multi
- result = method(recs, *args, **kwargs)
- File "/home/odoo/src/odoo/odoo/models.py", line 3243, in read
- return self._read_format(fnames=fields, load=load)
- File "/home/odoo/src/odoo/odoo/models.py", line 3263, in _read_format
- vals[name] = convert(record[name], record, use_name_get)
- File "/home/odoo/src/odoo/odoo/models.py", line 5936, in __getitem__
- return self._fields[key].__get__(self, self.env.registry[self._name])
- File "/home/odoo/src/odoo/odoo/fields.py", line 1132, in __get__
- self.compute_value(recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1295, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/addons/base_automation/models/base_automation.py", line 363, in _compute_field_value
- return _compute_field_value.origin(self, field)
- File "/home/odoo/src/odoo/addons/mail/models/mail_thread.py", line 411, in _compute_field_value
- return super()._compute_field_value(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 4277, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 88, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/satelca_addons/crm_trunking_satelca/models/crm_lead.py", line 73, in _compute_radio_generate_sale_order
- if ((self.is_radio and self.current_state == 'Calificado') or (self.current_state == 'Calificado' or self.quotation_count !=0 or self.technical_validation == True)):
- File "/home/odoo/src/odoo/odoo/fields.py", line 1132, in __get__
- self.compute_value(recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1295, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/addons/base_automation/models/base_automation.py", line 363, in _compute_field_value
- return _compute_field_value.origin(self, field)
- File "/home/odoo/src/odoo/addons/mail/models/mail_thread.py", line 411, in _compute_field_value
- return super()._compute_field_value(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 4277, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 88, in determine
- return needle(*args)
- File "/home/odoo/src/odoo/addons/sale_crm/models/crm_lead.py", line 25, in _compute_sale_data
- if order.state in ('draft', 'sent'):
- File "/home/odoo/src/odoo/odoo/fields.py", line 1109, in __get__
- recs._fetch_field(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 3292, in _fetch_field
- self._read(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 3359, in _read
- cr.execute(query_str, params + [sub_ids])
- File "<decorator-gen-5>", line 2, in execute
- File "/home/odoo/src/odoo/odoo/sql_db.py", line 90, in check
- return f(self, *args, **kwargs)
- File "/home/odoo/src/odoo/odoo/sql_db.py", line 311, in execute
- res = self._obj.execute(query, params)
- 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 658, 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
- psycopg2.errors.UndefinedColumn: column sale_order.type_service_id does not exist
- LINE 1: ...", "sale_order"."executive_id" as "executive_id", "sale_orde...
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement