2024-11-07 13:53:36
|
ERROR
|
server
|
odoo.http:2398
Exception during request handling.
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/cache.py", line 103, in lookup
r = d[key]
File "<decorator-gen-6>", line 2, in __getitem__
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/func.py", line 97, in locked
return func(inst, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/lru.py", line 33, in __getitem__
a = self.d[obj]
KeyError: ('res.partner', <function ResPartner._track_get_fields at 0x7fa3dfe1a680>, 8, False)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1287, in __get__
self.compute_value(recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 2541, in compute_value
super().compute_value(records)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1469, in compute_value
records._compute_field_value(self)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 425, in _compute_field_value
self._track_prepare(f.name for f in self.pool.field_computed[field] if f.store)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 494, in _track_prepare
fnames = self._track_get_fields().intersection(fields_iter)
File "<decorator-gen-198>", line 2, in _track_get_fields
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/cache.py", line 110, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/data/build/ingadhoc-partner/partner_state/models/res_partner.py", line 109, in _track_get_fields
for line in self.env['res.partner.state_field'].search([]):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1717, in search
return self.search_fetch(domain, [], offset=offset, limit=limit, order=order)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1741, in search_fetch
query = self._search(domain, offset=offset, limit=limit, order=order or self._order)
File "/data/build/ingadhoc-enterprise-extensions/base_algolia_search/models/ir_model.py", line 94, in _search
res = super()._search(domain, offset, limit, order)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5732, in _search
self.browse().check_access('read')
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4364, in check_access
raise result[1]()
odoo.exceptions.AccessError: You are not allowed to access 'Partner State Fields' (res.partner.state_field) records.
This operation is allowed for the following groups:
- Administration/Access Rights
- User types/Internal User
Contact your administrator to request access if necessary.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/cache.py", line 103, in lookup
r = d[key]
File "<decorator-gen-6>", line 2, in __getitem__
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/func.py", line 97, in locked
return func(inst, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/lru.py", line 33, in __getitem__
a = self.d[obj]
KeyError: ('res.partner', <function ResPartner._track_get_fields at 0x7fa3dfe1a680>, 8, False)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<688>", line 162, in template_688
File "<688>", line 144, in template_688_content
File "<688>", line 73, in template_688_t_call_0
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1289, in __get__
self.compute_value(record)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 2541, in compute_value
super().compute_value(records)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1469, in compute_value
records._compute_field_value(self)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 425, in _compute_field_value
self._track_prepare(f.name for f in self.pool.field_computed[field] if f.store)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 494, in _track_prepare
fnames = self._track_get_fields().intersection(fields_iter)
File "<decorator-gen-198>", line 2, in _track_get_fields
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/cache.py", line 110, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/data/build/ingadhoc-partner/partner_state/models/res_partner.py", line 109, in _track_get_fields
for line in self.env['res.partner.state_field'].search([]):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1717, in search
return self.search_fetch(domain, [], offset=offset, limit=limit, order=order)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1741, in search_fetch
query = self._search(domain, offset=offset, limit=limit, order=order or self._order)
File "/data/build/ingadhoc-enterprise-extensions/base_algolia_search/models/ir_model.py", line 94, in _search
res = super()._search(domain, offset, limit, order)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5732, in _search
self.browse().check_access('read')
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4364, in check_access
raise result[1]()
odoo.exceptions.AccessError: You are not allowed to access 'Partner State Fields' (res.partner.state_field) records.
This operation is allowed for the following groups:
- Administration/Access Rights
- User types/Internal User
Contact your administrator to request access if necessary.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/http.py", line 2363, in __call__
response = request._serve_db()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/http.py", line 1891, in _serve_db
return self._transactioning(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/http.py", line 1954, in _transactioning
return service_model.retrying(func, env=self.env)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/service/model.py", line 137, in retrying
result = func()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/http.py", line 1921, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/http.py", line 2081, in dispatch
return self.request.registry['ir.http']._dispatch(endpoint)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_http.py", line 331, in _dispatch
result.flatten()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/http.py", line 1388, in flatten
self.response.append(self.render())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/http.py", line 1380, in render
return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/ir_ui_view.py", line 449, in _render_template
return super()._render_template(template, values=values)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_ui_view.py", line 2187, in _render_template
return self.env['ir.qweb']._render(template, values)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/profiler.py", line 306, in _tracked_method_render
return method_render(self, template, values, **options)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_qweb.py", line 600, in _render
result = ''.join(rendering)
File "<692>", line 1087, in template_692
File "<692>", line 1076, in template_692_content
File "<688>", line 170, in template_688
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
AccessError: You are not allowed to access 'Partner State Fields' (res.partner.state_field) records.
This operation is allowed for the following groups:
- Administration/Access Rights
- User types/Internal User
Contact your administrator to request access if necessary.
Template: portal.portal_layout
Path: /t/t/div[2]/div/t[1]/div[1]/button/img
Node: <img class="o_avatar rounded" t-att-src="image_data_uri(user_id.partner_id.avatar_1024)" alt="Contact"/>
|
2024-11-07 13:54:34
|
ERROR
|
server
|
odoo.sql_db:357
bad query: b'SELECT "res_company"."id", "res_company"."name", "res_company"."active", "res_company"."sequence", "res_company"."parent_id", "res_company"."parent_path", "res_company"."partner_id", "res_company"."report_header"->>\'en_US\', "res_company"."report_footer"->>\'en_US\', "res_company"."company_details"->>\'en_US\', "res_company"."uses_default_logo", "res_company"."currency_id", "res_company"."email", "res_company"."phone", "res_company"."mobile", "res_company"."paperformat_id", "res_company"."external_report_layout_id", "res_company"."font", "res_company"."primary_color", "res_company"."secondary_color", "res_company"."layout_background", "res_company"."create_uid", "res_company"."create_date", "res_company"."write_uid", "res_company"."write_date", "res_company"."social_twitter", "res_company"."social_facebook", "res_company"."social_github", "res_company"."social_linkedin", "res_company"."social_youtube", "res_company"."social_instagram", "res_company"."social_tiktok", "res_company"."nomenclature_id", "res_company"."resource_calendar_id", "res_company"."alias_domain_id", "res_company"."alias_domain_name", "res_company"."email_primary_color", "res_company"."email_secondary_color", "res_company"."stylesheet_id", "res_company"."partner_gid", "res_company"."iap_enrich_auto_done", "res_company"."partner_state_enable", "res_company"."snailmail_color", "res_company"."snailmail_cover", "res_company"."snailmail_duplex", "res_company"."payment_onboarding_payment_method", "res_company"."fiscalyear_last_day", "res_company"."fiscalyear_last_month", "res_company"."fiscalyear_lock_date", "res_company"."tax_lock_date", "res_company"."sale_lock_date", "res_company"."purchase_lock_date", "res_company"."hard_lock_date", "res_company"."transfer_account_id", "res_company"."expects_chart_of_accounts", "res_company"."chart_template", "res_company"."bank_account_code_prefix", "res_company"."cash_account_code_prefix", "res_company"."default_cash_difference_income_account_id", "res_company"."default_cash_difference_expense_account_id", "res_company"."account_journal_suspense_account_id", "res_company"."account_journal_early_pay_discount_gain_account_id", "res_company"."account_journal_early_pay_discount_loss_account_id", "res_company"."transfer_account_code_prefix", "res_company"."account_sale_tax_id", "res_company"."account_purchase_tax_id", "res_company"."tax_calculation_rounding_method", "res_company"."currency_exchange_journal_id", "res_company"."income_currency_exchange_account_id", "res_company"."expense_currency_exchange_account_id", "res_company"."anglo_saxon_accounting", "res_company"."incoterm_id", "res_company"."qr_code", "res_company"."display_invoice_amount_total_words", "res_company"."display_invoice_tax_company_currency", "res_company"."account_use_credit_limit", "res_company"."batch_payment_sequence_id", "res_company"."account_opening_move_id", "res_company"."account_opening_date", "res_company"."invoice_terms"->>\'en_US\', "res_company"."terms_type", "res_company"."invoice_terms_html"->>\'en_US\', "res_company"."account_default_pos_receivable_account_id", "res_company"."expense_accrual_account_id", "res_company"."revenue_accrual_account_id", "res_company"."automatic_entry_default_journal_id", "res_company"."account_fiscal_country_id", "res_company"."tax_exigibility", "res_company"."tax_cash_basis_journal_id", "res_company"."account_cash_basis_base_account_id", "res_company"."account_storno", "res_company"."quick_edit_mode", "res_company"."account_discount_income_allocation_id", "res_company"."account_discount_expense_allocation_id", "res_company"."check_account_audit_trail", "res_company"."autopost_bills", "res_company"."account_price_include", "res_company"."hr_presence_control_email_amount", "res_company"."hr_presence_control_ip_list", "res_company"."employee_properties_definition", "res_company"."hr_presence_control_login", "res_company"."hr_presence_control_email", "res_company"."hr_presence_control_ip", "res_company"."hr_presence_control_attendance", "res_company"."internal_transit_location_id", "res_company"."stock_move_email_validation", "res_company"."stock_mail_confirmation_template_id", "res_company"."annual_inventory_month", "res_company"."annual_inventory_day", "res_company"."website_id", "res_company"."invoicing_switch_threshold", "res_company"."predict_bill_product", "res_company"."sign_invoice", "res_company"."signing_user", "res_company"."deferred_expense_journal_id", "res_company"."deferred_expense_account_id", "res_company"."generate_deferred_expense_entries_method", "res_company"."deferred_expense_amount_computation_method", "res_company"."deferred_revenue_journal_id", "res_company"."deferred_revenue_account_id", "res_company"."generate_deferred_revenue_entries_method", "res_company"."deferred_revenue_amount_computation_method", "res_company"."account_check_printing_layout", "res_company"."account_check_printing_date_label", "res_company"."account_check_printing_multi_stub", "res_company"."account_check_printing_margin_top", "res_company"."account_check_printing_margin_left", "res_company"."account_check_printing_margin_right", "res_company"."vat_check_vies", "res_company"."product_surcharge_id", "res_company"."currency_interval_unit", "res_company"."currency_next_execution_date", "res_company"."currency_provider", "res_company"."overtime_company_threshold", "res_company"."overtime_employee_threshold", "res_company"."hr_attendance_display_overtime", "res_company"."attendance_kiosk_mode", "res_company"."attendance_barcode_source", "res_company"."attendance_kiosk_delay", "res_company"."attendance_kiosk_key", "res_company"."attendance_kiosk_use_pin", "res_company"."attendance_from_systray", "res_company"."attendance_overtime_validation", "res_company"."auto_check_out", "res_company"."auto_check_out_tolerance", "res_company"."absence_management", "res_company"."manufacturing_lead", "res_company"."po_lead", "res_company"."po_lock", "res_company"."po_double_validation", "res_company"."po_double_validation_amount", "res_company"."account_production_wip_account_id", "res_company"."account_production_wip_overhead_account_id", "res_company"."stock_move_sms_validation", "res_company"."stock_sms_confirmation_template_id", "res_company"."has_received_warning_stock_sms", "res_company"."avalara_api_id", "res_company"."avalara_api_key", "res_company"."avalara_environment", "res_company"."avalara_commit", "res_company"."avalara_address_validation", "res_company"."avalara_use_upc", "res_company"."setting_account_avatax", "res_company"."project_time_mode_id", "res_company"."timesheet_encode_uom_id", "res_company"."internal_project_id", "res_company"."days_to_purchase", "res_company"."portal_confirmation_sign", "res_company"."portal_confirmation_pay", "res_company"."prepayment_percent", "res_company"."quotation_validity_days", "res_company"."sale_discount_product_id", "res_company"."sale_onboarding_payment_method", "res_company"."use_payment_pro", "res_company"."totals_below_sections", "res_company"."account_tax_periodicity", "res_company"."account_tax_periodicity_reminder_day", "res_company"."account_tax_periodicity_journal_id", "res_company"."account_revaluation_journal_id", "res_company"."account_revaluation_expense_provision_account_id", "res_company"."account_revaluation_income_provision_account_id", "res_company"."account_representative_id", "res_company"."reconcile_on_company_currency", "res_company"."leave_timesheet_task_id", "res_company"."sale_order_template_id", "res_company"."security_lead", "res_company"."timesheet_mail_employee_allow", "res_company"."timesheet_mail_employee_delay", "res_company"."timesheet_mail_employee_interval", "res_company"."timesheet_mail_employee_nextdate", "res_company"."timesheet_mail_allow", "res_company"."timesheet_mail_delay", "res_company"."timesheet_mail_interval", "res_company"."timesheet_mail_nextdate", "res_company"."gain_account_id", "res_company"."loss_account_id", "res_company"."extract_bank_statement_digitalization_mode", "res_company"."extract_in_invoice_digitalization_mode", "res_company"."extract_out_invoice_digitalization_mode", "res_company"."extract_single_line_per_tax", "res_company"."l10n_ar_afip_verification_type", "res_company"."l10n_ar_afip_ws_environment", "res_company"."l10n_ar_afip_ws_key_id", "res_company"."l10n_ar_afip_ws_crt_id", "res_company"."l10n_ar_fce_transmission_type", "res_company"."l10n_ar_computable_tax_credit", "res_company"."arba_cit", "res_company"."l10n_ar_report_signed_by", "res_company"."l10n_ar_invoice_report_ars_amount", "res_company"."restrict_sales", "res_company"."restrict_sales_amount", "res_company"."timesheet_show_rates", "res_company"."timesheet_show_leaderboard" FROM "res_company" WHERE ("res_company"."id" IN (3, 4, 5, 2, 1))'
ERROR: column res_company.partner_state_enable does not exist
LINE 1: ...rtner_gid", "res_company"."iap_enrich_auto_done", "res_compa...
^
|