Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. Odoo Server Error
  2. Traceback (most recent call last):
  3. File "/opt/odoo/odoo/http.py", line 642, in _handle_exception
  4. return super(JsonRequest, self)._handle_exception(exception)
  5. File "/opt/odoo/odoo/http.py", line 684, in dispatch
  6. result = self._call_function(**self.params)
  7. File "/opt/odoo/odoo/http.py", line 334, in _call_function
  8. return checked_call(self.db, *args, **kwargs)
  9. File "/opt/odoo/odoo/service/model.py", line 101, in wrapper
  10. return f(dbname, *args, **kwargs)
  11. File "/opt/odoo/odoo/http.py", line 327, in checked_call
  12. result = self.endpoint(*a, **kw)
  13. File "/opt/odoo/odoo/http.py", line 942, in _call_
  14. return self.method(*args, **kw)
  15. File "/opt/odoo/odoo/http.py", line 507, in response_wrap
  16. response = f(*args, **kw)
  17. File "/opt/odoo/addons/web/controllers/main.py", line 892, in call_kw
  18. return self._call_kw(model, method, args, kwargs)
  19. File "/opt/odoo/addons/web/controllers/main.py", line 884, in _call_kw
  20. return call_kw(request.env[model], method, args, kwargs)
  21. File "/opt/odoo/odoo/api.py", line 689, in call_kw
  22. return call_kw_multi(method, model, args, kwargs)
  23. File "/opt/odoo/odoo/api.py", line 680, in call_kw_multi
  24. result = method(recs, *args, **kwargs)
  25. File "/opt/odoo/odoo/models.py", line 3028, in read
  26. values[name] = field.convert_to_read(record[name], record, use_name_get)
  27. File "/opt/odoo/odoo/models.py", line 5232, in _getitem_
  28. return self._fields[key].__get__(self, type(self))
  29. File "/opt/odoo/odoo/fields.py", line 915, in _get_
  30. self.determine_value(record)
  31. File "/opt/odoo/odoo/fields.py", line 1027, in determine_value
  32. self.compute_value(recs)
  33. File "/opt/odoo/odoo/fields.py", line 981, in compute_value
  34. self._compute_value(records)
  35. File "/opt/odoo/odoo/fields.py", line 972, in _compute_value
  36. getattr(records, self.compute)()
  37. File "/opt/odoo/odoo/custom/henca_addons/henca_v10/sale_security/models/sale.py", line 11, in _compute_can_edit_so
  38. self.can_edit_so = self.env.user.has_group('sale_security.group_sale_security')
  39. File "/opt/odoo/odoo/fields.py", line 930, in _set_
  40. record.ensure_one()
  41. File "/opt/odoo/odoo/models.py", line 4844, in ensure_one
  42. raise ValueError("Expected singleton: %s" % self)
  43. ValueError: Expected singleton: sale.order(7209, 2785)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement