Advertisement
EnderX092

Instalaciones SATELCA

Jun 14th, 2024
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.56 KB | None | 0 0
  1. RPC_ERROR
  2. Odoo Server Error
  3. Traceback (most recent call last):
  4. File "/home/odoo/src/odoo/odoo/api.py", line 899, in get
  5. return field_cache[record._ids[0]]
  6. KeyError: 3276
  7.  
  8. During handling of the above exception, another exception occurred:
  9.  
  10. Traceback (most recent call last):
  11. File "/home/odoo/src/odoo/odoo/fields.py", line 1083, in __get__
  12. value = env.cache.get(record, self)
  13. File "/home/odoo/src/odoo/odoo/api.py", line 902, in get
  14. raise CacheMiss(record, field)
  15. odoo.exceptions.CacheMiss: 'crm.lead(3276,).radio_generate_sale_order'
  16.  
  17. During handling of the above exception, another exception occurred:
  18.  
  19. Traceback (most recent call last):
  20. File "/home/odoo/src/odoo/odoo/api.py", line 899, in get
  21. return field_cache[record._ids[0]]
  22. KeyError: 3276
  23.  
  24. During handling of the above exception, another exception occurred:
  25.  
  26. Traceback (most recent call last):
  27. File "/home/odoo/src/odoo/odoo/fields.py", line 1083, in __get__
  28. value = env.cache.get(record, self)
  29. File "/home/odoo/src/odoo/odoo/api.py", line 902, in get
  30. raise CacheMiss(record, field)
  31. odoo.exceptions.CacheMiss: 'crm.lead(3276,).quotation_count'
  32.  
  33. During handling of the above exception, another exception occurred:
  34.  
  35. Traceback (most recent call last):
  36. File "/home/odoo/src/odoo/odoo/api.py", line 899, in get
  37. return field_cache[record._ids[0]]
  38. KeyError: 6065
  39.  
  40. During handling of the above exception, another exception occurred:
  41.  
  42. Traceback (most recent call last):
  43. File "/home/odoo/src/odoo/odoo/fields.py", line 1083, in __get__
  44. value = env.cache.get(record, self)
  45. File "/home/odoo/src/odoo/odoo/api.py", line 902, in get
  46. raise CacheMiss(record, field)
  47. odoo.exceptions.CacheMiss: 'sale.order(6065,).state'
  48.  
  49. The above exception was the direct cause of the following exception:
  50.  
  51. Traceback (most recent call last):
  52. File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 242, in _dispatch
  53. result = request.dispatch()
  54. File "/home/odoo/src/odoo/odoo/http.py", line 702, in dispatch
  55. result = self._call_function(**self.params)
  56. File "/home/odoo/src/odoo/odoo/http.py", line 368, in _call_function
  57. return checked_call(self.db, *args, **kwargs)
  58. File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper
  59. return f(dbname, *args, **kwargs)
  60. File "/home/odoo/src/odoo/odoo/http.py", line 357, in checked_call
  61. result = self.endpoint(*a, **kw)
  62. File "/home/odoo/src/odoo/odoo/http.py", line 925, in __call__
  63. return self.method(*args, **kw)
  64. File "/home/odoo/src/odoo/odoo/http.py", line 546, in response_wrap
  65. response = f(*args, **kw)
  66. File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1324, in call_kw
  67. return self._call_kw(model, method, args, kwargs)
  68. File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1316, in _call_kw
  69. return call_kw(request.env[model], method, args, kwargs)
  70. File "/home/odoo/src/odoo/odoo/api.py", line 471, in call_kw
  71. result = _call_kw_multi(method, model, args, kwargs)
  72. File "/home/odoo/src/odoo/odoo/api.py", line 456, in _call_kw_multi
  73. result = method(recs, *args, **kwargs)
  74. File "/home/odoo/src/odoo/odoo/models.py", line 3243, in read
  75. return self._read_format(fnames=fields, load=load)
  76. File "/home/odoo/src/odoo/odoo/models.py", line 3263, in _read_format
  77. vals[name] = convert(record[name], record, use_name_get)
  78. File "/home/odoo/src/odoo/odoo/models.py", line 5936, in __getitem__
  79. return self._fields[key].__get__(self, self.env.registry[self._name])
  80. File "/home/odoo/src/odoo/odoo/fields.py", line 1132, in __get__
  81. self.compute_value(recs)
  82. File "/home/odoo/src/odoo/odoo/fields.py", line 1295, in compute_value
  83. records._compute_field_value(self)
  84. File "/home/odoo/src/odoo/addons/base_automation/models/base_automation.py", line 363, in _compute_field_value
  85. return _compute_field_value.origin(self, field)
  86. File "/home/odoo/src/odoo/addons/mail/models/mail_thread.py", line 411, in _compute_field_value
  87. return super()._compute_field_value(field)
  88. File "/home/odoo/src/odoo/odoo/models.py", line 4277, in _compute_field_value
  89. fields.determine(field.compute, self)
  90. File "/home/odoo/src/odoo/odoo/fields.py", line 88, in determine
  91. return needle(*args)
  92. File "/home/odoo/src/user/odoo-mastercore/satelca_addons/crm_trunking_satelca/models/crm_lead.py", line 73, in _compute_radio_generate_sale_order
  93. if ((self.is_radio and self.current_state == 'Calificado') or (self.current_state == 'Calificado' or self.quotation_count !=0 or self.technical_validation == True)):
  94. File "/home/odoo/src/odoo/odoo/fields.py", line 1132, in __get__
  95. self.compute_value(recs)
  96. File "/home/odoo/src/odoo/odoo/fields.py", line 1295, in compute_value
  97. records._compute_field_value(self)
  98. File "/home/odoo/src/odoo/addons/base_automation/models/base_automation.py", line 363, in _compute_field_value
  99. return _compute_field_value.origin(self, field)
  100. File "/home/odoo/src/odoo/addons/mail/models/mail_thread.py", line 411, in _compute_field_value
  101. return super()._compute_field_value(field)
  102. File "/home/odoo/src/odoo/odoo/models.py", line 4277, in _compute_field_value
  103. fields.determine(field.compute, self)
  104. File "/home/odoo/src/odoo/odoo/fields.py", line 88, in determine
  105. return needle(*args)
  106. File "/home/odoo/src/odoo/addons/sale_crm/models/crm_lead.py", line 25, in _compute_sale_data
  107. if order.state in ('draft', 'sent'):
  108. File "/home/odoo/src/odoo/odoo/fields.py", line 1109, in __get__
  109. recs._fetch_field(self)
  110. File "/home/odoo/src/odoo/odoo/models.py", line 3292, in _fetch_field
  111. self._read(fnames)
  112. File "/home/odoo/src/odoo/odoo/models.py", line 3359, in _read
  113. cr.execute(query_str, params + [sub_ids])
  114. File "<decorator-gen-5>", line 2, in execute
  115. File "/home/odoo/src/odoo/odoo/sql_db.py", line 90, in check
  116. return f(self, *args, **kwargs)
  117. File "/home/odoo/src/odoo/odoo/sql_db.py", line 311, in execute
  118. res = self._obj.execute(query, params)
  119. Exception
  120.  
  121. The above exception was the direct cause of the following exception:
  122.  
  123. Traceback (most recent call last):
  124. File "/home/odoo/src/odoo/odoo/http.py", line 658, in _handle_exception
  125. return super(JsonRequest, self)._handle_exception(exception)
  126. File "/home/odoo/src/odoo/odoo/http.py", line 301, in _handle_exception
  127. raise exception.with_traceback(None) from new_cause
  128. psycopg2.errors.UndefinedColumn: column sale_order.type_service_id does not exist
  129. LINE 1: ...", "sale_order"."executive_id" as "executive_id", "sale_orde...
  130. ^
  131.  
  132.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement