Advertisement
Guest User

Untitled

a guest
Nov 15th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.89 KB | None | 0 0
  1. Error:
  2. Odoo Server Error
  3.  
  4. Traceback (most recent call last):
  5. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1032, in get
  6. value = self._data[field][record.id][key]
  7. KeyError: (<odoo.sql_db.Cursor object at 0x7f8745f8d7b8>, 1087546)
  8.  
  9. During handling of the above exception, another exception occurred:
  10.  
  11. Traceback (most recent call last):
  12. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 970, in __get__
  13. value = record.env.cache.get(record, self)
  14. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1034, in get
  15. raise CacheMiss(record, field)
  16. odoo.exceptions.CacheMiss: ('res.company(1,).name', None)
  17.  
  18. During handling of the above exception, another exception occurred:
  19.  
  20. Traceback (most recent call last):
  21. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 2813, in _prefetch_field
  22. result = records.read([f.name for f in fs], load='_classic_write')
  23. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 2768, in read
  24. values[name] = field.convert_to_read(record[name], record, use_name_get)
  25. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 5047, in __getitem__
  26. return self._fields[key].__get__(self, type(self))
  27. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 970, in __get__
  28. value = record.env.cache.get(record, self)
  29. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1036, in get
  30. return value.get() if isinstance(value, SpecialValue) else value
  31. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1068, in getter
  32. raise exception
  33. odoo.exceptions.AccessError: ('The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: res.company, Operation: read)', None)
  34.  
  35. During handling of the above exception, another exception occurred:
  36.  
  37. Traceback (most recent call last):
  38. File "/home/odoo/src/odoo/12.0/odoo/addons/base/models/qweb.py", line 344, in _compiled_fn
  39. return compiled(self, append, new, options, log)
  40. File "<template>", line 1, in template_10886_77744
  41. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 974, in __get__
  42. self.determine_value(record)
  43. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 1075, in determine_value
  44. record._prefetch_field(self)
  45. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 2816, in _prefetch_field
  46. result = self.read([f.name for f in fs], load='_classic_write')
  47. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 2768, in read
  48. values[name] = field.convert_to_read(record[name], record, use_name_get)
  49. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 5047, in __getitem__
  50. return self._fields[key].__get__(self, type(self))
  51. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 970, in __get__
  52. value = record.env.cache.get(record, self)
  53. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1036, in get
  54. return value.get() if isinstance(value, SpecialValue) else value
  55. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1068, in getter
  56. raise exception
  57. odoo.exceptions.AccessError: ('The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: res.company, Operation: read)', None)
  58.  
  59. During handling of the above exception, another exception occurred:
  60.  
  61. Traceback (most recent call last):
  62. File "/home/odoo/src/odoo/12.0/odoo/http.py", line 653, in _handle_exception
  63. return super(JsonRequest, self)._handle_exception(exception)
  64. File "/home/odoo/src/odoo/12.0/odoo/http.py", line 312, in _handle_exception
  65. raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  66. File "/home/odoo/src/odoo/12.0/odoo/tools/pycompat.py", line 87, in reraise
  67. raise value
  68. File "/home/odoo/src/odoo/12.0/odoo/http.py", line 695, in dispatch
  69. result = self._call_function(**self.params)
  70. File "/home/odoo/src/odoo/12.0/odoo/http.py", line 344, in _call_function
  71. return checked_call(self.db, *args, **kwargs)
  72. File "/home/odoo/src/odoo/12.0/odoo/service/model.py", line 97, in wrapper
  73. return f(dbname, *args, **kwargs)
  74. File "/home/odoo/src/odoo/12.0/odoo/http.py", line 337, in checked_call
  75. result = self.endpoint(*a, **kw)
  76. File "/home/odoo/src/odoo/12.0/odoo/http.py", line 938, in __call__
  77. return self.method(*args, **kw)
  78. File "/home/odoo/src/odoo/12.0/odoo/http.py", line 517, in response_wrap
  79. response = f(*args, **kw)
  80. File "/home/odoo/src/odoo/12.0/addons/web/controllers/main.py", line 962, in call_kw
  81. return self._call_kw(model, method, args, kwargs)
  82. File "/home/odoo/src/odoo/12.0/addons/web/controllers/main.py", line 954, in _call_kw
  83. return call_kw(request.env[model], method, args, kwargs)
  84. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 749, in call_kw
  85. return _call_kw_multi(method, model, args, kwargs)
  86. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 736, in _call_kw_multi
  87. result = method(recs, *args, **kwargs)
  88. File "/home/odoo/src/odoo/12.0/addons/rating/models/mail_thread.py", line 14, in message_post
  89. message = super(MailThread, self).message_post(**kwargs)
  90. File "/home/odoo/src/odoo/12.0/addons/mail/models/mail_thread.py", line 2058, in message_post
  91. self._message_post_after_hook(new_message, values, model_description=model_description, mail_auto_delete=mail_auto_delete)
  92. File "/home/odoo/src/custom/private/openerp_enterprise/models/project_issue.py", line 140, in _message_post_after_hook
  93. return super(Task, self)._message_post_after_hook(*args, **kwargs)
  94. File "/home/odoo/src/odoo/12.0/addons/project/models/project.py", line 912, in _message_post_after_hook
  95. return super(Task, self)._message_post_after_hook(message, *args, **kwargs)
  96. File "/home/odoo/src/odoo/12.0/addons/mail_bot/models/mail_thread.py", line 12, in _message_post_after_hook
  97. return super(MailThread, self)._message_post_after_hook(message, values, model_description=model_description, mail_auto_delete=mail_auto_delete)
  98. File "/home/odoo/src/odoo/12.0/addons/mail/models/mail_thread.py", line 2080, in _message_post_after_hook
  99. mail_auto_delete=mail_auto_delete,
  100. File "/home/odoo/src/odoo/12.0/addons/mail/models/mail_message.py", line 1042, in _notify
  101. model_description=model_description, mail_auto_delete=mail_auto_delete)
  102. File "/home/odoo/src/enterprise/12.0/ocn_client/models/mail_message.py", line 18, in _notify_recipients
  103. super(MailMessage, self)._notify_recipients(rdata, record, msg_vals, **kwargs)
  104. File "/home/odoo/src/odoo/12.0/addons/mail/models/mail_message.py", line 1119, in _notify_recipients
  105. self.env['res.partner']._notify(self, partner_email_rdata, record, force_send=force_send, send_after_commit=send_after_commit, model_description=model_description, mail_auto_delete=mail_auto_delete)
  106. File "/home/odoo/src/custom/private/openerp_enterprise/models/openerp_enterprise.py", line 3299, in _notify
  107. return super(ResPartner, self)._notify(*args, **kwargs)
  108. File "/home/odoo/src/odoo/12.0/addons/mail/models/res_partner.py", line 127, in _notify
  109. mail_body = base_template.render(template_ctx, engine='ir.qweb', minimal_qcontext=True)
  110. File "/home/odoo/src/odoo/12.0/addons/website/models/ir_ui_view.py", line 231, in render
  111. return super(View, self).render(values, engine=engine, minimal_qcontext=minimal_qcontext)
  112. File "/home/odoo/src/odoo/12.0/addons/web_editor/models/ir_ui_view.py", line 27, in render
  113. return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
  114. File "/home/odoo/src/odoo/12.0/odoo/addons/base/models/ir_ui_view.py", line 1285, in render
  115. return self.env[engine].render(self.id, qcontext)
  116. File "/home/odoo/src/odoo/12.0/odoo/addons/base/models/ir_qweb.py", line 59, in render
  117. result = super(IrQWeb, self).render(id_or_xml_id, values=values, **context)
  118. File "/home/odoo/src/odoo/12.0/odoo/addons/base/models/qweb.py", line 272, in render
  119. self.compile(template, options)(self, body.append, values or {})
  120. File "/home/odoo/src/odoo/12.0/odoo/addons/base/models/qweb.py", line 351, in _compiled_fn
  121. raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name)
  122. odoo.addons.base.models.qweb.QWebException: ('The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: res.company, Operation: read)', None)
  123. Traceback (most recent call last):
  124. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1032, in get
  125. value = self._data[field][record.id][key]
  126. KeyError: (<odoo.sql_db.Cursor object at 0x7f8745f8d7b8>, 1087546)
  127.  
  128. During handling of the above exception, another exception occurred:
  129.  
  130. Traceback (most recent call last):
  131. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 970, in __get__
  132. value = record.env.cache.get(record, self)
  133. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1034, in get
  134. raise CacheMiss(record, field)
  135. odoo.exceptions.CacheMiss: ('res.company(1,).name', None)
  136.  
  137. During handling of the above exception, another exception occurred:
  138.  
  139. Traceback (most recent call last):
  140. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 2813, in _prefetch_field
  141. result = records.read([f.name for f in fs], load='_classic_write')
  142. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 2768, in read
  143. values[name] = field.convert_to_read(record[name], record, use_name_get)
  144. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 5047, in __getitem__
  145. return self._fields[key].__get__(self, type(self))
  146. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 970, in __get__
  147. value = record.env.cache.get(record, self)
  148. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1036, in get
  149. return value.get() if isinstance(value, SpecialValue) else value
  150. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1068, in getter
  151. raise exception
  152. odoo.exceptions.AccessError: ('The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: res.company, Operation: read)', None)
  153.  
  154. During handling of the above exception, another exception occurred:
  155.  
  156. Traceback (most recent call last):
  157. File "/home/odoo/src/odoo/12.0/odoo/addons/base/models/qweb.py", line 344, in _compiled_fn
  158. return compiled(self, append, new, options, log)
  159. File "<template>", line 1, in template_10886_77744
  160. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 974, in __get__
  161. self.determine_value(record)
  162. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 1075, in determine_value
  163. record._prefetch_field(self)
  164. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 2816, in _prefetch_field
  165. result = self.read([f.name for f in fs], load='_classic_write')
  166. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 2768, in read
  167. values[name] = field.convert_to_read(record[name], record, use_name_get)
  168. File "/home/odoo/src/odoo/12.0/odoo/models.py", line 5047, in __getitem__
  169. return self._fields[key].__get__(self, type(self))
  170. File "/home/odoo/src/odoo/12.0/odoo/fields.py", line 970, in __get__
  171. value = record.env.cache.get(record, self)
  172. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1036, in get
  173. return value.get() if isinstance(value, SpecialValue) else value
  174. File "/home/odoo/src/odoo/12.0/odoo/api.py", line 1068, in getter
  175. raise exception
  176. odoo.exceptions.AccessError: ('The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: res.company, Operation: read)', None)
  177.  
  178. Error to render compiling AST
  179. AccessError: ('The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: res.company, Operation: read)', None)
  180. Template: 10886
  181. Path: /templates/t/div/div[2]/table/tbody/tr[1]/td[2]/img
  182. Node: <img t-att-src="'/logo.png?company=%s' % company.id" style="padding: 0px; margin: 0px; height: auto; max-width: 200px; max-height: 36px;" t-att-alt="'%s' % company.name"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement