2023-02-10 18:05:43
|
ERROR
|
server
|
odoo.sql_db:316
bad query: INSERT INTO "account_move" ("id", "auto_post", "company_id", "create_date", "create_uid", "currency_id", "date", "extract_remote_id", "extract_state", "invoice_incoterm_id", "invoice_user_id", "is_move_sent", "journal_id", "move_type", "ref", "state", "to_check", "write_date", "write_uid") VALUES (nextval('account_move_id_seq'), false, 1, '2023-02-10 18:05:34.658073', 1, 2, '2023-03-31', -1, 'no_extract_requested', NULL, 1, false, NULL, 'entry', 'INV/2023/00001', 'draft', false, '2023-02-10 18:05:34.658073', 1) RETURNING id
ERROR: null value in column "journal_id" violates not-null constraint
DETAIL: Failing row contains (8, null, null, null, null, null, 2023-03-31, INV/2023/00001, null, draft, null, entry, f, null, 1, 2, null, null, f, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, f, null, null, 1, null, null, null, null, null, null, null, null, null, null, null, 1, 2023-02-10 18:05:34.658073, 1, 2023-02-10 18:05:34.658073, null, null, no_extract_requested, null, -1, null, null).
|
2023-02-10 18:05:43
|
ERROR
|
server
|
odoo.addons.account.models.chart_template:376
Error while loading accounting demo data
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/chart_template.py", line 373, in _create_demo_data
self._post_create_demo_data(created)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/demo/account_demo.py", line 331, in _post_create_demo_data
move.action_post()
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/account_move.py", line 3176, in action_post
other_moves._post(soft=False)
File "/data/build/ingadhoc-enterprise-extensions/account_direct_debit/models/account_move.py", line 31, in _post
to_pay_moves.direct_debit_payment()
File "/data/build/ingadhoc-enterprise-extensions/account_direct_debit/models/account_move.py", line 40, in direct_debit_payment
payment = self.env['account.payment'].with_context(
File "<decorator-gen-185>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 412, in _model_create_multi
return create(self, [arg])
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/account_payment.py", line 693, in create
payments = super().create(vals_list)
File "<decorator-gen-131>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 265, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-67>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_fields.py", line 613, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4071, in create
parents = self.env[model_name].create([
File "<decorator-gen-183>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/account_move.py", line 2337, in create
return super(AccountMove, self).create(vals_list)
File "<decorator-gen-131>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 265, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-67>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_fields.py", line 613, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4079, in create
records = self._create(data_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4177, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 313, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "journal_id" violates not-null constraint
DETAIL: Failing row contains (8, null, null, null, null, null, 2023-03-31, INV/2023/00001, null, draft, null, entry, f, null, 1, 2, null, null, f, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, f, null, null, 1, null, null, null, null, null, null, null, null, null, null, null, 1, 2023-02-10 18:05:34.658073, 1, 2023-02-10 18:05:34.658073, null, null, no_extract_requested, null, -1, null, null).
|