2024-11-21 15:40:21
|
ERROR
|
server
|
odoo.sql_db:335
bad query: INSERT INTO "product_template" ("active", "categ_id", "create_date", "create_uid", "detailed_type", "expense_policy", "invoice_policy", "list_price", "name", "priority", "product_properties", "purchase_line_warn", "purchase_method", "purchase_ok", "replenishment_base_cost_currency_id", "replenishment_cost_type", "sale_delay", "sale_line_warn", "sale_ok", "sequence", "service_type", "tracking", "type", "uom_id", "uom_po_id", "write_date", "write_uid") VALUES (true, 1, '2024-11-21 15:40:15.543333', 1, 'service', 'no', 'order', '0.00', '{"en_US": "Generic Registration Product"}', '0', NULL, 'no-message', 'receive', true, 1, 'manual', 0, 'no-message', true, 1, 'manual', 'none', 'service', 1, NULL, '2024-11-21 15:40:15.543333', 1) RETURNING "id"
ERROR: null value in column "uom_po_id" violates not-null constraint
DETAIL: Failing row contains (135, 1, 1, 1, null, null, null, 1, 1, service, service, null, 0, {"en_US": "Generic Registration Product"}, null, null, null, null, 0.00, null, null, t, t, t, null, null, 2024-11-21 15:40:15.543333, 2024-11-21 15:40:15.543333, null, null, null, null, null, null, 0, none, null, null, null, f, null, null, null, null, null, null, receive, no-message, null, null, manual, no-message, no, order, null, null, null, null, 1, null, manual, null, null, null, null).
|
2024-11-21 15:40:21
|
ERROR
|
server
|
odoo.modules.registry:119
Failed to load registry
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 114, 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 205, in load_module_graph
registry.init_models(env.cr, model_names, {'module': package.name}, new_install)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 573, in init_models
model._auto_init()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 3156, in _auto_init
new = field.update_db(self, columns)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 3032, in update_db
return super(Many2one, self).update_db(model, columns)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1006, in update_db
self.update_db_notnull(model, column)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1058, in update_db_notnull
model._init_column(self.name)
File "/data/build/adhoc-cicd-odoo-odoo/addons/event_sale/models/event_ticket.py", line 78, in _init_column
product_id = self.env['product.product'].create({
File "<decorator-gen-447>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 414, in _model_create_multi
return create(self, [arg])
File "/data/build/ingadhoc-product/product_internal_code/models/product_product.py", line 25, in create
return super().create(vals_list)
File "<decorator-gen-378>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/product/models/product_product.py", line 362, in create
products = super(ProductProduct, self.with_context(create_product_product=False)).create(vals_list)
File "<decorator-gen-150>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 259, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-12>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4619, in create
parents = self.env[model_name].create([
File "<decorator-gen-1278>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_purchase/models/product_template.py", line 28, in create
return super().create(vals_list)
File "<decorator-gen-698>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/product.py", line 141, in create
products = super().create(vals_list)
File "<decorator-gen-448>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/ingadhoc-product/product_internal_code/models/product_template.py", line 23, in create
return super().create(vals_list)
File "<decorator-gen-375>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/product/models/product_template.py", line 485, in create
templates = super(ProductTemplate, self).create(vals_list)
File "<decorator-gen-150>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 259, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-12>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4627, in create
records = self._create(data_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4815, in _create
cr.execute(SQL(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 332, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "uom_po_id" violates not-null constraint
DETAIL: Failing row contains (135, 1, 1, 1, null, null, null, 1, 1, service, service, null, 0, {"en_US": "Generic Registration Product"}, null, null, null, null, 0.00, null, null, t, t, t, null, null, 2024-11-21 15:40:15.543333, 2024-11-21 15:40:15.543333, null, null, null, null, null, null, 0, none, null, null, null, f, null, null, null, null, null, null, receive, no-message, null, null, manual, no-message, no, order, null, null, null, null, 1, null, manual, null, null, null, null).
|
2024-11-21 15:40:21
|
CRITICAL
|
server
|
odoo.service.server:1350
Failed to initialize database `93694-17-0-all`.
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/service/server.py", line 1313, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "<decorator-gen-16>", line 2, in new
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 114, 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 205, in load_module_graph
registry.init_models(env.cr, model_names, {'module': package.name}, new_install)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 573, in init_models
model._auto_init()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 3156, in _auto_init
new = field.update_db(self, columns)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 3032, in update_db
return super(Many2one, self).update_db(model, columns)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1006, in update_db
self.update_db_notnull(model, column)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1058, in update_db_notnull
model._init_column(self.name)
File "/data/build/adhoc-cicd-odoo-odoo/addons/event_sale/models/event_ticket.py", line 78, in _init_column
product_id = self.env['product.product'].create({
File "<decorator-gen-447>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 414, in _model_create_multi
return create(self, [arg])
File "/data/build/ingadhoc-product/product_internal_code/models/product_product.py", line 25, in create
return super().create(vals_list)
File "<decorator-gen-378>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/product/models/product_product.py", line 362, in create
products = super(ProductProduct, self.with_context(create_product_product=False)).create(vals_list)
File "<decorator-gen-150>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 259, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-12>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4619, in create
parents = self.env[model_name].create([
File "<decorator-gen-1278>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_purchase/models/product_template.py", line 28, in create
return super().create(vals_list)
File "<decorator-gen-698>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/product.py", line 141, in create
products = super().create(vals_list)
File "<decorator-gen-448>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/ingadhoc-product/product_internal_code/models/product_template.py", line 23, in create
return super().create(vals_list)
File "<decorator-gen-375>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/product/models/product_template.py", line 485, in create
templates = super(ProductTemplate, self).create(vals_list)
File "<decorator-gen-150>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 259, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-12>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4627, in create
records = self._create(data_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4815, in _create
cr.execute(SQL(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 332, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "uom_po_id" violates not-null constraint
DETAIL: Failing row contains (135, 1, 1, 1, null, null, null, 1, 1, service, service, null, 0, {"en_US": "Generic Registration Product"}, null, null, null, null, 0.00, null, null, t, t, t, null, null, 2024-11-21 15:40:15.543333, 2024-11-21 15:40:15.543333, null, null, null, null, null, null, 0, none, null, null, null, f, null, null, null, null, null, null, receive, no-message, null, null, manual, no-message, no, order, null, null, null, null, 1, null, manual, null, null, null, null).
|