2025-01-15 18:28:41
|
CRITICAL
|
server
|
odoo.service.server:1344
Failed to initialize database `111737-18-0-all`.
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: ('ir.model.data', <function IrModelData._xmlid_lookup at 0x7f711edc23b0>, 'saas_provider_upgrade.action_cns_placeholder_view')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 537, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 405, in _tag_record
f_val = _eval_xml(self, field, env)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 127, in _eval_xml
+_process("".join(etree.tostring(n, encoding='unicode') for n in node))
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 116, in _process
self.idref[id] = self.id_get(id)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 519, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 525, in model_id_get
return self.env['ir.model.data']._xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_model.py", line 2245, in _xmlid_to_res_model_res_id
return self._xmlid_lookup(xmlid)
File "<decorator-gen-44>", line 2, in _xmlid_lookup
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/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_model.py", line 2238, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: saas_provider_upgrade.action_cns_placeholder_view
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/service/server.py", line 1306, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "<decorator-gen-13>", line 2, in new
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/modules/registry.py", line 127, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 480, in load_modules
processed_modules += load_marked_modules(env, graph,
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 364, in load_marked_modules
loaded, processed = load_module_graph(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 227, in load_module_graph
load_data(env, idref, mode, kind='data', package=package)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 608, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 679, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 594, in parse
self._tag_root(de)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 550, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/ingadhoc-ingadhoc-odoo-saas-adhoc2/saas_provider_upgrade/views/saas_upgrade_line_views.xml:36, somewhere inside
<record id="view_saas_upgrade_line_form" model="ir.ui.view">
<field name="name">saas.upgrade_line.form</field>
<field name="model">saas.upgrade.line</field>
<field name="arch" type="xml">
<form string="Upgrade Line">
<header>
<button name="action_run" context="{'run_by_button': True}" class="oe_highlight" type="object" string="Run Script" icon="fa-play" invisible="not context.get('ticket_request_id', False)" help="Se correra el script en el request que viene del contexto"/>
<button name="action_test" class="oe_highlight" type="object" string="Run dev script" icon="fa-play" help="Se correra el script en el request que viene del contexto" invisible="dev_script in ['', False] or not context.get('ticket_request_id', False)"/>
<field name="state" class="oe_inline" widget="statusbar" options="{'clickable': '1'}"/>
</header>
<sheet string="Upgrade Line">
<div class="oe_title pe-0">
<h1 class="d-flex justify-content-between align-items-center">
<div class="d-flex w-100">
<field name="priority" widget="priority" class="me-3"/>
<field name="name" options="{'line_breaks': False}" widget="text" placeholder="Nombre..."/>
</div>
</h1>
</div>
<div class="oe_button_box" name="button_box">
<button class="oe_stat_button" type="object" name="get_requests" invisible="run_type == 'production'" icon="fa-gears" string="Active requests"/>
<button class="oe_stat_button" type="action" name="%(saas_provider_adhoc.action_adhoc_module)d" icon="fa-cubes" context="{'search_default_upgrade_line_ids': name}" string="Modules"/>
<button class="oe_stat_button" type="action" name="%(action_helpdesk_ticket_customer_note)d" context="{'search_default_upgrade_line_id': id, 'search_default_open': 1}" icon="fa-envelope-o" string="Customer Notes"/>
<button invisible="not upgrade_line_request_log_ids" class="oe_stat_button" type="action" name="%(action_saas_upgrade_line_request_log)d" context="{'search_default_upgrade_line_id': id, 'search_default_group_by_upgrade_line_id': 0}" icon="fa-exclamation-triangle" string="Error Logs"/>
<button invisible="script_version <= 1" class="oe_stat_button" type="object" name="get_script_versions" icon="fa-code-fork" string="Script Versions"/>
<button invisible="not ul_avg_duration" class="oe_stat_button" type="object" name="get_running_status" icon="fa-bars" string="Running status"/>
</div>
<widget name="web_ribbon" title="Archived" bg_color="bg-danger" invisible="active"/>
<group>
<group>
<field name="type"/>
<field name="adhoc_product_id"/>
<field name="upgrade_type_ids" widget="many2many_tags" invisible="upgrade_ticket_ids"/>
<label for="filter_by_version" invisible="type in ['on_create', 'after_done', 'after_error']"/>
<div invisible="type in ['on_create', 'after_done', 'after_error']">
<field name="filter_by_version" nolabel="1" widget="radio"/>
<field name="from_major_version_ids" placeholder="Seleccionar versiones" widget="many2many_tags" invisible="filter_by_version == 'all'" domain="[('id', 'in', allowed_from_major_version_ids)]"/>
</div>
<field name="upgrade_ticket_ids" widget="many2many_tags" invisible="upgrade_type_ids or not upgrade_ticket_ids"/>
<field name="run_type"/>
</group>
<group>
<field name="sequence"/>
<field name="add_customer_note" invisible="type in ['on_create', 'after_done', 'after_error']"/>
<field name="consultancy_required" invisible="not add_customer_note"/>
<field name="module_ids" widget="many2many_tags" invisible="type in ['on_create', 'after_done', 'after_error']" required="old_filter_domain"/>
<label for="old_filter_domain" invisible="type in ['on_create', 'after_done', 'after_error']"/>
<div invisible="type in ['on_create', 'after_done', 'after_error']">
<field name="old_filter_domain" nolabel="1" class="oe_inline" placeholder="por ej. {'sale.order': [('partner_id.country_id.code', '=', 'AR')]}" readonly="state == 'approved'"/>
<button name="action_check_filter_domain" class="oe_link oe_inline" icon="fa-check-circle-o" context="{'field_type': 'old_filter_domain'}" type="object" invisible="request_id in ['', False] or old_filter_domain in ['', False]" title="Test Old Filter Domain"/>
</div>
<label for="new_filter_domain" invisible="type in ['on_create', 'evaluation', 'pre', 'pre-adhoc', 'after_done', 'after_error']"/>
<div invisible="type in ['on_create', 'evaluation', 'pre', 'pre-adhoc', 'after_done', 'after_error']">
<field name="new_filter_domain" placeholder="por ej. {'sale.order': [('partner_id.country_id.code', '=', 'AR')]}" class="oe_inline" readonly="state == 'approved'"/>
<button name="action_check_filter_domain" class="oe_link oe_inline" icon="fa-
...<message too long, truncated>
|