Open
Conversation
Contributor
Author
|
error was in #206 tests |
This was referenced Mar 17, 2025
Contributor
Author
|
Many migrations here need to get merged, I guess we can start with this and then completeness. |
Contributor
Author
Member
|
Not using these modules. |
Contributor
Author
rvalyi
approved these changes
Sep 1, 2025
rousseldenis
reviewed
Sep 2, 2025
cd38a8d to
7fda862
Compare
cyrilmanuel
approved these changes
Jan 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
2025-03-17 14:15:07,476 346 ERROR odoo odoo.sql_db: bad query: INSERT INTO "res_users" ("active", "company_id", "create_date", "create_uid", "login", "partner_id", "write_date", "write_uid") VALUES (true, 1, '2025-03-17 14:15:07.463473', 1, 'attribute_manager', 41, '2025-03-17 14:15:07.463473', 1) RETURNING "id"
ERROR: null value in column "notification_type" violates not-null constraint
DETAIL: Failing row contains (8, 1, 41, t, 2025-03-17 14:15:07.463473, attribute_manager, null, null, 1, 1, null, null, 2025-03-17 14:15:07.463473, null, null).
2025-03-17 14:15:07,478 346 INFO odoo odoo.tests.suite: ======================================================================
2025-03-17 14:15:07,479 346 ERROR odoo odoo.tests.suite: ERROR: setUpClass (odoo.addons.attribute_set.tests.test_build_view.BuildViewCase)
Traceback (most recent call last):
File "/__w/odoo-pim/odoo-pim/attribute_set/tests/test_build_view.py", line 37, in setUpClass
cls.attribute_manager_user = cls.env["res.users"].create(
File "", line 2, in create
File "/opt/odoo/odoo/api.py", line 430, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/odoo/addons/base/models/res_users.py", line 1696, in create
users = super(UsersView, self).create(new_vals_list)
File "", line 2, in create
File "/opt/odoo/odoo/api.py", line 431, in _model_create_multi
return create(self, arg)
File "/opt/odoo/odoo/addons/base/models/res_users.py", line 1401, in create
return super(UsersImplied, self).create(vals_list)
File "", line 2, in create
File "/opt/odoo/odoo/api.py", line 431, in _model_create_multi
return create(self, arg)
File "/opt/odoo/odoo/addons/base/models/res_users.py", line 652, in create
users = super(Users, self).create(vals_list)
File "", line 2, in create
File "/opt/odoo/odoo/api.py", line 431, in _model_create_multi
return create(self, arg)
File "/opt/odoo/odoo/addons/base/models/ir_fields.py", line 670, in create
recs = super().create(vals_list)
File "", line 2, in create
File "/opt/odoo/odoo/api.py", line 431, in _model_create_multi
return create(self, arg)
File "/opt/odoo/odoo/models.py", line 4010, in create
records = self._create(data_list)
File "/opt/odoo/odoo/models.py", line 4191, in _create
cr.execute(
File "/opt/odoo/odoo/sql_db.py", line 321, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "notification_type" violates not-null constraint
DETAIL: Failing row contains (8, 1, 41, t, 2025-03-17 14:15:07.463473, attribute_manager, null, null, 1, 1, null, null, 2025-03-17 14:15:07.463473, null, null).