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: 1
- 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: 'subscription.history(1,).display_name'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/odoo/models.py", line 5240, in ensure_one
- _id, = self._ids
- ValueError: too many values to unpack (expected 1)
- 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 1282, 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 1301, 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 5091, in search_read
- result = records.read(fields, **read_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/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/isp_addons/subscription_isp/models/subscription_history.py", line 28, in _compute_display_name
- self.display_name = self.subscription_id.template_id.code + '/' + self.subscription_id.code
- File "/home/odoo/src/odoo/odoo/fields.py", line 1076, in __get__
- record.ensure_one()
- File "/home/odoo/src/odoo/odoo/models.py", line 5243, in ensure_one
- raise ValueError("Expected singleton: %s" % 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 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
- ValueError: Expected singleton: sale.subscription(2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 19, 20, 23, 24, 25, 26, 27, 28, 29, 31, 32, 36, 37, 38, 39, 40, 41, 42, 43, 45, 46, 47, 49, 50, 51, 52, 55, 56, 58, 59, 60, 61, 62, 63, 66, 67, 68, 70, 71, 73, 74, 75, 77, 78, 80, 81, 82, 83, 85, 86, 87, 89, 90, 91, 94, 95, 99, 100, 101, 103, 104, 105, 106, 108, 109, 110)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement