2024-11-14 15:41:03
|
ERROR
|
server
|
odoo.sql_db:357
bad query: b'INSERT INTO "ir_act_window" ("binding_type", "binding_view_types", "context", "create_date", "create_uid", "limit", "mobile_view_mode", "name", "path", "target", "type", "view_mode", "write_date", "write_uid") VALUES (\'action\', \'list,form\', \'{\'\'create\'\': False}\', \'2024-11-14 15:41:01.971547\', 1, 80, \'kanban\', \'{"en_US": "Upgrade Line Scripts"}\', \'scripts\', \'current\', \'ir.actions.act_window\', \'list,form\', \'2024-11-14 15:41:01.971547\', 1) RETURNING "id"'
ERROR: null value in column "res_model" violates not-null constraint
DETAIL: Failing row contains (745, null, 1, 1, ir.actions.act_window, scripts, action, list,form, {"en_US": "Upgrade Line Scripts"}, null, 2024-11-14 15:41:01.971547, 2024-11-14 15:41:01.971547, null, null, 80, null, null, {'create': False}, null, current, list,form, kanban, null, null).
|
2024-11-14 15:41:03
|
CRITICAL
|
server
|
odoo.service.server:1343
Failed to initialize database `91719-18-0-all`.
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 437, in _tag_record
record = model._load_records([data], self.mode == 'update')
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5451, in _load_records
records = self._load_records_create([data['values'] for data in to_create])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5355, in _load_records_create
records = self.create(vals_list)
File "<decorator-gen-200>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/ingadhoc-ingadhoc-odoo-saas-adhoc2/saas_client_adhoc/models/ir_actions.py", line 23, in create
res = super().create(vals_list)
File "<decorator-gen-60>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 356, in create
return super(IrActionsActWindow, self).create(vals_list)
File "<decorator-gen-58>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 106, in create
res = super(IrActions, self).create(vals_list)
File "<decorator-gen-31>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4959, in create
records = self._create(data_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5143, in _create
cr.execute(SQL(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 354, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "res_model" violates not-null constraint
DETAIL: Failing row contains (745, null, 1, 1, ir.actions.act_window, scripts, action, list,form, {"en_US": "Upgrade Line Scripts"}, null, 2024-11-14 15:41:01.971547, 2024-11-14 15:41:01.971547, null, null, 80, null, null, {'create': False}, null, current, list,form, kanban, null, null).
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 1305, 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 131, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 479, in load_modules
processed_modules += load_marked_modules(env, graph,
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 363, in load_marked_modules
loaded, processed = load_module_graph(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 226, 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 70, 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_script_views.xml:70, somewhere inside
<record id="action_saas_upgrade_line_script" model="ir.actions.act_window">
<field name="name">Upgrade Line Scripts</field>
<field name="view_mode">list,form</field>
<field name="path">scripts</field>
<field name="context">{'create': False}</field>
</record>
|