Description: Post install tests for d -> !f
Commit: duong-addons:a626afad  
Subject: [FIX] website controllers: raise request.not_found() instead of returning it
Author: Claude
Committer: Nguyễn Đại Dương
Commit: odoo:99edb6dd  
Subject: [IMP] account_edi_ubl_cii: Support section in UBL.
Author: Jugurtha
Commit: odoo-enteprise:36e91262  
Subject: [MISC] odoo enterprise 19 29/8/2026
Author: daiduongnguyen-odoo
Commit: duong-addons-ee:8d4a63fa  
Subject: [FIX] d_ee_social_douyin, d_ee_social_facebook_messenger: unique field labels
Author: Claude
Build time: 13m
Wait time: 34m
Load time: 12m55s
Date (UTC) Level Message
2026-10-18 06:30:49 INFO Init build environment with config duong-addons-run-test
2026-10-18 06:30:49 Starting step restore from config duong-addons-run-test
2026-10-18 06:30:49 Restoring template 02345-19-0-all.zip from build 2345
2026-10-18 06:30:49 Using Dockerfile Tag odoo:Docker19
2026-10-18 06:32:17 INFO Step restore finished in 86s
2026-10-18 06:32:17 Starting step test_post_install from config duong-addons-run-test
2026-10-18 06:32:17 Using Dockerfile Tag odoo:Docker19
2026-10-18 06:32:23 INFO 1 modules loaded in 0.72s, 0 queries (+0 extra)
2026-10-18 06:32:28 WARNING /data/build/odoo/odoo/osv/__init__.py:4: DeprecationWarning: Since 19.0, odoo.osv is deprecated use odoo.fields.Domain File "/data/build/odoo/odoo-bin", line 6, in <module> odoo.cli.main() File "/data/build/odoo/odoo/cli/command.py", line 133, in main command().run(args) File "/data/build/odoo/odoo/cli/server.py", line 127, in run main(args) File "/data/build/odoo/odoo/cli/server.py", line 118, in main rc = server.start(preload=config['db_name'], stop=stop) File "/data/build/odoo/odoo/service/server.py", line 1677, in start rc = server.run(preload, stop) File "/data/build/odoo/odoo/service/server.py", line 714, in run rc = preload_registries(preload) File "/data/build/odoo/odoo/service/server.py", line 1591, in preload_registries registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit']) File "/data/build/odoo/odoo/tools/func.py", line 88, in locked return func(inst, *args, **kwargs) File "/data/build/odoo/odoo/orm/registry.py", line 189, in new load_modules( File "/data/build/odoo/odoo/modules/loading.py", line 464, in load_modules load_module_graph( File "/data/build/odoo/odoo/modules/loading.py", line 178, in load_module_graph load_openerp_module(package.name) File "/data/build/odoo/odoo/modules/module.py", line 506, in load_openerp_module __import__(qualname) File "/data/build/duong-addons-ee/d_ee_social_douyin/__init__.py", line 1, in <module> from . import models File "/data/build/duong-addons-ee/d_ee_social_douyin/models/__init__.py", line 5, in <module> from . import social_post File "/data/build/duong-addons-ee/d_ee_social_douyin/models/social_post.py", line 2, in <module> from odoo.osv import expression File "/data/build/odoo/odoo/osv/__init__.py", line 4, in <module> warnings.warn("Since 19.0, odoo.osv is deprecated use odoo.fields.Domain", DeprecationWarning)
2026-10-18 06:32:41 INFO 476 modules loaded in 17.78s, 0 queries (+2 extra)
2026-10-18 06:32:45 INFO Pregenerating assets bundles
2026-10-18 06:37:12 ERROR ERROR: TestSePayConnection.test_native_account_selection_does_not_call_odoofin_for_sepay Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_connection.py", line 130, in test_native_account_selection_does_not_call_odoofin_for_sepay with ( File "/usr/lib/python3.12/unittest/mock.py", line 1458, in __enter__ original, local = self.get_original() ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/unittest/mock.py", line 1431, in get_original raise AttributeError( AttributeError: <class 'odoo.addons.d_ee_bank_connector_sepay.models.account_online.AccountOnlineLink'> does not have the attribute '_fetch_transactions'
2026-10-18 06:37:12 ERROR ERROR: TestSePayConnection.test_non_manager_cannot_run_connection_wizard Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_connection.py", line 252, in test_non_manager_cannot_run_connection_wizard user = self.env['res.users'].with_context(no_reset_password=True).create({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/website_slides/models/res_users.py", line 13, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/hr_holidays/models/res_users.py", line 68, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/project/models/res_users.py", line 12, in create res = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/hr/models/res_users.py", line 165, in create res = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/digest/models/res_users.py", line 12, in create users = super(ResUsers, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/gamification/models/res_users.py", line 72, in create res = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/calendar/models/res_users.py", line 63, in create res = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/auth_signup/models/res_users.py", line 272, in create users = super(ResUsers, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/res_users.py", line 14, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/res_users.py", line 182, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/addons/base/models/res_users.py", line 1357, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/addons/base/models/res_users.py", line 580, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4660, in create raise ValueError(f"Invalid field {field_name!r} in {self._name!r}") ValueError: Invalid field 'groups_id' in 'res.users'
2026-10-18 06:37:12 ERROR FAIL: TestSePayLifecycle.test_deleting_sepay_never_calls_odoofin Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_lifecycle.py", line 79, in test_deleting_sepay_never_calls_odoofin self.assertTrue(reconcile_model) AssertionError: account.reconcile.model() is not true
2026-10-18 06:37:13 ERROR ERROR: TestSePayLifecycle.test_native_provider_model_methods_delegate_to_enterprise_superclasses Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_lifecycle.py", line 205, in test_native_provider_model_methods_delegate_to_enterprise_superclasses with patch.object( File "/usr/lib/python3.12/unittest/mock.py", line 1458, in __enter__ original, local = self.get_original() ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/unittest/mock.py", line 1431, in get_original raise AttributeError( AttributeError: <class 'odoo.addons.account_online_synchronization.models.account_online.AccountOnlineLink'> does not have the attribute '_get_consent_expiring_date'
2026-10-18 06:37:13 ERROR ERROR: setUpClass (odoo.addons.d_ee_bank_connector_sepay.tests.test_security.TestSePaySecurity) Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_security.py", line 35, in setUpClass cls.account_user = cls.env['res.users'].with_context(no_reset_password=True).create({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/website_slides/models/res_users.py", line 13, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/hr_holidays/models/res_users.py", line 68, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/project/models/res_users.py", line 12, in create res = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/hr/models/res_users.py", line 165, in create res = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/digest/models/res_users.py", line 12, in create users = super(ResUsers, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/gamification/models/res_users.py", line 72, in create res = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/calendar/models/res_users.py", line 63, in create res = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/auth_signup/models/res_users.py", line 272, in create users = super(ResUsers, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/res_users.py", line 14, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/res_users.py", line 182, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/addons/base/models/res_users.py", line 1357, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/addons/base/models/res_users.py", line 580, in create users = super().create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4660, in create raise ValueError(f"Invalid field {field_name!r} in {self._name!r}") ValueError: Invalid field 'groups_id' in 'res.users'
2026-10-18 06:37:13 ERROR FAIL: TestSePaySynchronization.test_api_transaction_becomes_native_statement_line_with_opening_balance Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 102, in test_api_transaction_becomes_native_statement_line_with_opening_balance fetched = self.online_account._retrieve_transactions() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/models/account_online.py", line 623, in _retrieve_transactions self.env.cr.commit() File "/data/build/odoo/odoo/tests/common.py", line 1071, in forbidden raise AssertionError('Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary') AssertionError: Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary
2026-10-18 06:37:13 ERROR FAIL: TestSePaySynchronization.test_empty_initial_history_creates_no_fake_opening_transaction Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 596, in test_empty_initial_history_creates_no_fake_opening_transaction result = self.online_account._retrieve_transactions() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/models/account_online.py", line 623, in _retrieve_transactions self.env.cr.commit() File "/data/build/odoo/odoo/tests/common.py", line 1071, in forbidden raise AssertionError('Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary') AssertionError: Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary
2026-10-18 06:37:15 ERROR FAIL: TestSePaySynchronization.test_full_pending_total_drives_first_100_then_remainder_import Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 636, in test_full_pending_total_drives_first_100_then_remainder_import pending = self.online_account._retrieve_transactions() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/models/account_online.py", line 623, in _retrieve_transactions self.env.cr.commit() File "/data/build/odoo/odoo/tests/common.py", line 1071, in forbidden raise AssertionError('Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary') AssertionError: Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary
2026-10-18 06:37:17 ERROR FAIL: TestSePaySynchronization.test_pagination_uses_stable_cursor_and_advances_after_last_page Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 457, in test_pagination_uses_stable_cursor_and_advances_after_last_page result = self.online_account._retrieve_transactions() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/models/account_online.py", line 623, in _retrieve_transactions self.env.cr.commit() File "/data/build/odoo/odoo/tests/common.py", line 1071, in forbidden raise AssertionError('Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary') AssertionError: Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary
2026-10-18 06:37:17 ERROR FAIL: TestSePaySynchronization.test_pending_log_recovers_existing_native_line_after_crash_window Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 573, in test_pending_log_recovers_existing_native_line_after_crash_window result = self.online_account._retrieve_transactions() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/models/account_online.py", line 623, in _retrieve_transactions self.env.cr.commit() File "/data/build/odoo/odoo/tests/common.py", line 1071, in forbidden raise AssertionError('Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary') AssertionError: Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary
2026-10-18 06:37:17 ERROR FAIL: TestSePaySynchronization.test_rate_limit_is_retried_using_retry_after Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 350, in test_rate_limit_is_retried_using_retry_after result = self.online_account._retrieve_transactions() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/models/account_online.py", line 623, in _retrieve_transactions self.env.cr.commit() File "/data/build/odoo/odoo/tests/common.py", line 1071, in forbidden raise AssertionError('Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary') AssertionError: Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary
2026-10-18 06:37:18 ERROR ERROR: TestSePaySynchronization.test_registered_payment_is_reconciled_to_imported_bank_line_by_native_model Traceback (most recent call last): File "/data/build/odoo/odoo/orm/domains.py", line 915, in __get_field field = model._fields[field_name] ~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'company_id' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 699, in test_registered_payment_is_reconciled_to_imported_bank_line_by_native_model revenue_account = self.env['account.account'].search([ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 1391, in search return self.search_fetch(domain, [], offset=offset, limit=limit, order=order) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 1421, in search_fetch query = self._search(domain, offset=offset, limit=limit, order=order or self._order) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 5379, in _search domain = domain.optimize_full(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 446, in optimize_full return self._optimize(model, OptimizationLevel.FULL) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 460, in _optimize previous, domain = domain, domain._optimize_step(model, next_level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 654, in _optimize_step children = self._flatten(child._optimize(model, level) for child in self.children) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 609, in _flatten for child in children: File "/data/build/odoo/odoo/orm/domains.py", line 654, in <genexpr> children = self._flatten(child._optimize(model, level) for child in self.children) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 460, in _optimize previous, domain = domain, domain._optimize_step(model, next_level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 939, in _optimize_step field, property_name = self.__get_field(model) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 917, in __get_field self._raise("Invalid field %s.%s", model._name, field_name) File "/data/build/odoo/odoo/orm/domains.py", line 902, in _raise raise error(message % (*args, self.field_expr, self.operator, self.value)) ValueError: Invalid field account.account.company_id in condition ('company_id', '=', 1)
2026-10-18 06:37:18 ERROR ERROR: TestSePaySynchronization.test_registered_vendor_bill_payment_is_reconciled_to_imported_bank_line Traceback (most recent call last): File "/data/build/odoo/odoo/orm/domains.py", line 915, in __get_field field = model._fields[field_name] ~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'company_id' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 824, in test_registered_vendor_bill_payment_is_reconciled_to_imported_bank_line expense_account = self.env['account.account'].search([ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 1391, in search return self.search_fetch(domain, [], offset=offset, limit=limit, order=order) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 1421, in search_fetch query = self._search(domain, offset=offset, limit=limit, order=order or self._order) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 5379, in _search domain = domain.optimize_full(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 446, in optimize_full return self._optimize(model, OptimizationLevel.FULL) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 460, in _optimize previous, domain = domain, domain._optimize_step(model, next_level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 654, in _optimize_step children = self._flatten(child._optimize(model, level) for child in self.children) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 609, in _flatten for child in children: File "/data/build/odoo/odoo/orm/domains.py", line 654, in <genexpr> children = self._flatten(child._optimize(model, level) for child in self.children) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 460, in _optimize previous, domain = domain, domain._optimize_step(model, next_level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 939, in _optimize_step field, property_name = self.__get_field(model) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 917, in __get_field self._raise("Invalid field %s.%s", model._name, field_name) File "/data/build/odoo/odoo/orm/domains.py", line 902, in _raise raise error(message % (*args, self.field_expr, self.operator, self.value)) ValueError: Invalid field account.account.company_id in condition ('company_id', '=', 1)
2026-10-18 06:37:18 ERROR FAIL: TestSePaySynchronization.test_unmatched_sepay_label_remains_unreconciled Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 971, in test_unmatched_sepay_label_remains_unreconciled transactions = self.online_account._retrieve_transactions() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/models/account_online.py", line 623, in _retrieve_transactions self.env.cr.commit() File "/data/build/odoo/odoo/tests/common.py", line 1071, in forbidden raise AssertionError('Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary') AssertionError: Cannot commit or rollback a cursor from inside a test, this will lead to a broken cursor when trying to rollback the test. Please rollback to a specific savepoint instead or open another cursor if really necessary
2026-10-18 06:37:18 ERROR ERROR: TestSePaySynchronization.test_unpaid_invoice_is_reconciled_directly_by_native_reference_matching Traceback (most recent call last): File "/data/build/odoo/odoo/orm/domains.py", line 915, in __get_field field = model._fields[field_name] ~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'company_id' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 771, in test_unpaid_invoice_is_reconciled_directly_by_native_reference_matching revenue_account = self.env['account.account'].search([ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 1391, in search return self.search_fetch(domain, [], offset=offset, limit=limit, order=order) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 1421, in search_fetch query = self._search(domain, offset=offset, limit=limit, order=order or self._order) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 5379, in _search domain = domain.optimize_full(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 446, in optimize_full return self._optimize(model, OptimizationLevel.FULL) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 460, in _optimize previous, domain = domain, domain._optimize_step(model, next_level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 654, in _optimize_step children = self._flatten(child._optimize(model, level) for child in self.children) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 609, in _flatten for child in children: File "/data/build/odoo/odoo/orm/domains.py", line 654, in <genexpr> children = self._flatten(child._optimize(model, level) for child in self.children) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 460, in _optimize previous, domain = domain, domain._optimize_step(model, next_level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 939, in _optimize_step field, property_name = self.__get_field(model) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 917, in __get_field self._raise("Invalid field %s.%s", model._name, field_name) File "/data/build/odoo/odoo/orm/domains.py", line 902, in _raise raise error(message % (*args, self.field_expr, self.operator, self.value)) ValueError: Invalid field account.account.company_id in condition ('company_id', '=', 1)
2026-10-18 06:37:18 ERROR ERROR: TestSePaySynchronization.test_unpaid_vendor_bill_is_reconciled_directly_by_native_reference_matching Traceback (most recent call last): File "/data/build/odoo/odoo/orm/domains.py", line 915, in __get_field field = model._fields[field_name] ~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'company_id' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_synchronization.py", line 895, in test_unpaid_vendor_bill_is_reconciled_directly_by_native_reference_matching expense_account = self.env['account.account'].search([ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 1391, in search return self.search_fetch(domain, [], offset=offset, limit=limit, order=order) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 1421, in search_fetch query = self._search(domain, offset=offset, limit=limit, order=order or self._order) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 5379, in _search domain = domain.optimize_full(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 446, in optimize_full return self._optimize(model, OptimizationLevel.FULL) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 460, in _optimize previous, domain = domain, domain._optimize_step(model, next_level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 654, in _optimize_step children = self._flatten(child._optimize(model, level) for child in self.children) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 609, in _flatten for child in children: File "/data/build/odoo/odoo/orm/domains.py", line 654, in <genexpr> children = self._flatten(child._optimize(model, level) for child in self.children) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 460, in _optimize previous, domain = domain, domain._optimize_step(model, next_level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 939, in _optimize_step field, property_name = self.__get_field(model) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/domains.py", line 917, in __get_field self._raise("Invalid field %s.%s", model._name, field_name) File "/data/build/odoo/odoo/orm/domains.py", line 902, in _raise raise error(message % (*args, self.field_expr, self.operator, self.value)) ValueError: Invalid field account.account.company_id in condition ('company_id', '=', 1)
2026-10-18 06:37:20 ERROR FAIL: TestSePayWebhook.test_api_key_fallback_accepts_outgoing_event_as_audit_only Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_webhook.py", line 167, in test_api_key_fallback_accepts_outgoing_event_as_audit_only self.assertEqual(response.status_code, 200) AssertionError: 404 != 200
2026-10-18 06:37:20 ERROR FAIL: TestSePayWebhook.test_signed_duplicate_webhook_is_acknowledged_once_without_accounting_entry Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_webhook.py", line 63, in test_signed_duplicate_webhook_is_acknowledged_once_without_accounting_entry self.assertEqual(first_response.status_code, 200) AssertionError: 404 != 200
2026-10-18 06:37:20 ERROR FAIL: TestSePayWebhook.test_signed_invalid_schema_is_rejected_without_audit_log Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_webhook.py", line 137, in test_signed_invalid_schema_is_rejected_without_audit_log self.assertEqual(response.status_code, 400) AssertionError: 404 != 400
2026-10-18 06:37:20 ERROR FAIL: TestSePayWebhook.test_stale_hmac_is_rejected Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_webhook.py", line 111, in test_stale_hmac_is_rejected self.assertEqual(response.status_code, 403) AssertionError: 404 != 403
2026-10-18 06:37:21 ERROR FAIL: TestSePayWebhook.test_unknown_route_malformed_json_and_oversized_body_are_rejected Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_bank_connector_sepay/tests/test_webhook.py", line 201, in test_unknown_route_malformed_json_and_oversized_body_are_rejected self.assertEqual(malformed.status_code, 400) AssertionError: 404 != 400
2026-10-18 06:37:27 INFO Screenshot
2026-10-18 06:37:27 INFO Chrome Log
2026-10-18 06:37:27 ERROR FAIL: TestLinkedinMentionsEditor.test_editor Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_social_linkedin_mentions/tests/test_js.py", line 131, in test_editor self.browser_js( File "/data/build/odoo/odoo/tests/common.py", line 2567, in browser_js self.fail('%s\n\n%s' % (message, error)) AssertionError: Some js test failed Test run aborted: Error: Error while loading "@d_social_facebook_messenger/components/messenger_text_variables/messenger_text_variables": Error: Cannot add key "messenger_text_variables" in the "fields" registry: it already exists at ModuleSetLoader.startModule (http://127.0.0.1:8069/web/assets/6456239/web.assets_unit_tests_setup.min.js:41:227) at ModuleSetLoader.startModule (http://127.0.0.1:8069/web/assets/df6e903/web.assets_unit_tests.min.js:861:60) at ModuleSetLoader.setup (http://127.0.0.1:8069/web/assets/df6e903/web.assets_unit_tests.min.js:860:34) at describeDrySuite (http://127.0.0.1:8069/web/assets/df6e903/web.assets_unit_tests.min.js:809:203) at async Runner.dryRun (http://127.0.0.1:8069/web/assets/6456239/web.assets_unit_tests_setup.min.js:1361:15) at async runTests (http://127.0.0.1:8069/web/assets/df6e903/web.assets_unit_tests.min.js:877:54)
2026-10-18 06:37:31 ERROR Error received after termination: The following modules failed to load because of an error: ['@d_social_facebook_messenger/components/messenger_text_variables/messenger_text_variables']
2026-10-18 06:37:31 ERROR Error received after termination: The following modules failed to load because of an error: ['@d_social_facebook_messenger/components/messenger_text_variables/messenger_text_variables']
2026-10-18 06:37:31 ERROR Error received after termination: The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle: ['@web_tour/tour_service/tour_utils']
2026-10-18 06:37:31 ERROR Error received after termination: The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems: ['@d_ee_bank_connector_sepay/../tests/tours/sepay_connect_tour']
2026-10-18 06:37:31 INFO Screenshot
2026-10-18 06:37:42 ERROR Error received after termination: Error: Native feed card did not load at <anonymous>:22:27
2026-10-18 06:37:42 INFO Chrome Log
2026-10-18 06:37:42 ERROR FAIL: TestLinkedinMentionsEditor.test_native_feed_mentions Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_social_linkedin_mentions/tests/test_js.py", line 99, in test_native_feed_mentions self.browser_js( File "/data/build/odoo/odoo/tests/common.py", line 2567, in browser_js self.fail('%s\n\n%s' % (message, error)) AssertionError: The test code " (async () => { for (let i = 0; i < 100; i++) { const bodies = document.querySelectorAll('.o_social_stream_post_message_text'); const body = [...bodies].find(el => el.textContent.includes('Feed regression')); if (body) { const mention = body.querySelector('a[href="https://www.linkedin.com/company/99"]'); if (!mention || mention.textContent !== 'A & B [ERP] #tag <script>') { throw new Error('Feed company mention not rendered safely'); } if (body.querySelector('script') || body.textContent.includes('urn:li:') || !body.textContent.includes('Jane') || !body.textContent.includes('😀') || !body.querySelector('br') || !body.querySelector('a[href*="keywords=odoo"]')) { throw new Error('Feed content not preserved'); } console.log('test successful'); return; } await new Promise(resolve => setTimeout(resolve, 100)); } throw new Error('Native feed card did not load'); })().catch(error => console.error(error)); " failed UncaughtError: Error while loading "@d_social_facebook_messenger/components/messenger_text_variables/messenger_text_variables": Error: Cannot add key "messenger_text_variables" in the "fields" registry: it already exists at ModuleLoader.startModule (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:41:227) at ModuleLoader.startModules (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:40:57) at ModuleLoader.addJob (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:5:39) at ModuleLoader.define (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:10:121) at http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:32434:6 at startModule (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:40:226) at startModules (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:39:56) at addJob (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:4:38) at define (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:9:120) at (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:32433:5)
2026-10-18 06:37:45 ERROR Error received after termination: The following modules failed to load because of an error: ['@d_social_facebook_messenger/components/messenger_text_variables/messenger_text_variables']
2026-10-18 06:37:46 ERROR Error received after termination: The following modules failed to load because of an error: ['@d_social_facebook_messenger/components/messenger_text_variables/messenger_text_variables']
2026-10-18 06:37:46 ERROR Error received after termination: The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle: ['@web_tour/tour_service/tour_utils']
2026-10-18 06:37:46 ERROR Error received after termination: The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems: ['@d_ee_bank_connector_sepay/../tests/tours/sepay_connect_tour']
2026-10-18 06:37:46 INFO Screenshot
2026-10-18 06:37:56 ERROR Error received after termination: Error: Missing visible element: [name="message"] textarea at waitFor (<anonymous>:9:31) at async <anonymous>:11:38
2026-10-18 06:37:56 INFO Chrome Log
2026-10-18 06:37:56 ERROR FAIL: TestLinkedinMentionsEditor.test_native_generic_message_editor Traceback (most recent call last): File "/data/build/duong-addons-ee/d_ee_social_linkedin_mentions/tests/test_js.py", line 30, in test_native_generic_message_editor self.browser_js( File "/data/build/odoo/odoo/tests/common.py", line 2567, in browser_js self.fail('%s\n\n%s' % (message, error)) AssertionError: The test code " (async () => { const waitFor = async (selector) => { for (let i = 0; i < 100; i++) { const element = document.querySelector(selector); if (element && element.getClientRects().length) return element; await new Promise(resolve => setTimeout(resolve, 100)); } throw new Error('Missing visible element: ' + selector); }; const textarea = await waitFor('[name="message"] textarea'); if (getComputedStyle(document.body, '::before').content.includes('css error')) { throw new Error('Native editor stylesheet compilation failed'); } textarea.value = '@odoo #ERP'; textarea.focus(); textarea.setSelectionRange(5, 5); textarea.dispatchEvent(new InputEvent('input', { bubbles: true })); const suggestion = await waitFor('.o_linkedin_mentions_dropdown button'); suggestion.dispatchEvent(new MouseEvent('mousedown', { bubbles: true, cancelable: true })); suggestion.click(); await waitFor('.o_social_preview_message a[href="https://www.linkedin.com/company/odoo"]'); const save = await waitFor('.o_form_button_save'); save.click(); for (let i = 0; i < 100; i++) { if (document.querySelector('.o_form_status_indicator_buttons.invisible')) { console.log('test successful'); return; } await new Promise(resolve => setTimeout(resolve, 100)); } throw new Error('Post was not saved'); })().catch(error => console.error(error)); " failed UncaughtError: Error while loading "@d_social_facebook_messenger/components/messenger_text_variables/messenger_text_variables": Error: Cannot add key "messenger_text_variables" in the "fields" registry: it already exists at ModuleLoader.startModule (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:41:227) at ModuleLoader.startModules (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:40:57) at ModuleLoader.addJob (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:5:39) at ModuleLoader.define (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:10:121) at http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:32434:6 at startModule (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:40:226) at startModules (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:39:56) at addJob (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:4:38) at define (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:9:120) at (http://127.0.0.1:8069/web/assets/73cb185/web.assets_web.min.js:32433:5)
2026-10-18 06:39:07 ERROR bad query: b'INSERT INTO "tiktok_message" ("conversation_id", "create_date", "create_uid", "direction", "message_type", "sent_date", "social_account_id", "state", "write_date", "write_uid") VALUES (\'conv_mc\', \'2026-10-18T06:39:04.049172\'::timestamp, 1, \'inbound\', \'TEXT\', \'2026-10-18T06:39:07\'::timestamp, 45, \'outgoing\', \'2026-10-18T06:39:04.049172\'::timestamp, 1), (\'conv_mc\', \'2026-10-18T06:39:04.049172\'::timestamp, 1, \'inbound\', \'TEXT\', \'2026-10-18T06:39:07\'::timestamp, 46, \'outgoing\', \'2026-10-18T06:39:04.049172\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "tiktok_message" violates foreign key constraint "tiktok_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(45) is not present in table "social_account".
2026-10-18 06:39:07 ERROR ERROR: TestTikTokMultiCompany.test_records_follow_the_company_of_their_account Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_multi_company.py", line 25, in test_records_follow_the_company_of_their_account messages = self.env['tiktok.message'].create([ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "tiktok_message" violates foreign key constraint "tiktok_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(45) is not present in table "social_account".
2026-10-18 06:39:08 ERROR bad query: b'INSERT INTO "discuss_channel" ("active", "channel_type", "create_date", "create_uid", "d_whatsapp_chatbot_answers", "favorite_icon", "last_interest_dt", "name", "tiktok_business_open_id", "tiktok_conversation_id", "tiktok_participant_id", "tiktok_partner_id", "tiktok_social_account_id", "uuid", "write_date", "write_uid") VALUES (true, \'tiktok\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'[]\', \'\xf0\x9f\x98\x80\', \'2026-10-18T06:39:07\'::timestamp, \'Cara TikTok\', \'biz_3\', \'conv_creator\', \'customer_creator\', 116, 49, \'TuNEx6tkIP\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(49) is not present in table "social_account".
2026-10-18 06:39:08 ERROR ERROR: TestTikTokMessaging.test_account_creator_is_the_fallback_operator Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 512, in test_account_creator_is_the_fallback_operator channel = self.env['discuss.channel']._get_or_create_tiktok_channel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_social_tiktok_messaging/models/discuss_channel.py", line 99, in _get_or_create_tiktok_channel channel = self.sudo().create({ ^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/discuss_channel.py", line 417, in create channels = super(DiscussChannel, self.with_context(mail_create_bypass_create_check=self.env['discuss.channel.member']._bypass_create_check, mail_create_nolog=True, mail_create_nosubscribe=True)).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/mail_thread.py", line 329, in create threads = super(MailThread, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(49) is not present in table "social_account".
2026-10-18 06:39:09 ERROR bad query: b'INSERT INTO "discuss_channel" ("active", "channel_type", "create_date", "create_uid", "d_whatsapp_chatbot_answers", "favorite_icon", "last_interest_dt", "name", "tiktok_business_open_id", "tiktok_conversation_id", "tiktok_participant_id", "tiktok_partner_id", "tiktok_social_account_id", "uuid", "write_date", "write_uid") VALUES (true, \'tiktok\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'[]\', \'\xf0\x9f\x98\x80\', \'2026-10-18T06:39:08\'::timestamp, \'Operators TikTok\', \'biz_1\', \'conv_operators\', \'customer_operators\', 118, 47, \'B88aYFkFSC\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:09 ERROR ERROR: TestTikTokMessaging.test_all_configured_operators_are_synced_for_existing_channel Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 535, in test_all_configured_operators_are_synced_for_existing_channel channel = self.env['discuss.channel']._get_or_create_tiktok_channel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_social_tiktok_messaging/models/discuss_channel.py", line 99, in _get_or_create_tiktok_channel channel = self.sudo().create({ ^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/discuss_channel.py", line 417, in create channels = super(DiscussChannel, self.with_context(mail_create_bypass_create_check=self.env['discuss.channel.member']._bypass_create_check, mail_create_nolog=True, mail_create_nosubscribe=True)).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/mail_thread.py", line 329, in create threads = super(MailThread, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:09 ERROR bad query: b'INSERT INTO "tiktok_auto_message" ("active", "answer", "auto_message_type", "create_date", "create_uid", "name", "question", "sequence", "social_account_id", "state", "tiktok_auto_message_id", "write_date", "write_uid") VALUES (true, \'9 to 6.\', \'SUGGESTED_QUESTION\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'Auto Message\', \'Opening hours?\', 10, 47, \'draft\', \'am_1\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "tiktok_auto_message" violates foreign key constraint "tiktok_auto_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:09 ERROR ERROR: TestTikTokMessaging.test_auto_message_is_kept_when_tiktok_refuses_the_delete Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 280, in test_auto_message_is_kept_when_tiktok_refuses_the_delete auto = self.env['tiktok.auto.message'].create({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "tiktok_auto_message" violates foreign key constraint "tiktok_auto_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:09 ERROR bad query: b'INSERT INTO "tiktok_auto_message" ("active", "auto_message_type", "content", "create_date", "create_uid", "name", "sequence", "social_account_id", "state", "tiktok_auto_message_id", "title", "write_date", "write_uid") VALUES (true, \'CHAT_PROMPT\', \'Ask us\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'Auto Message\', 10, 47, \'synced\', \'cp_1\', \'Prices\', \'2026-10-18T06:39:07.796606\'::timestamp, 1), (true, \'CHAT_PROMPT\', \'Ask us\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'Auto Message\', 10, 47, \'synced\', \'cp_2\', \'Delivery\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "tiktok_auto_message" violates foreign key constraint "tiktok_auto_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:09 ERROR ERROR: TestTikTokMessaging.test_auto_message_status_applies_to_the_whole_type Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 229, in test_auto_message_status_applies_to_the_whole_type prompts = Auto.create([{ ^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "tiktok_auto_message" violates foreign key constraint "tiktok_auto_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:09 ERROR bad query: b'INSERT INTO "discuss_channel" ("active", "channel_type", "create_date", "create_uid", "d_whatsapp_chatbot_answers", "favorite_icon", "last_interest_dt", "name", "tiktok_business_open_id", "tiktok_conversation_id", "tiktok_participant_id", "tiktok_partner_id", "tiktok_social_account_id", "uuid", "write_date", "write_uid") VALUES (true, \'tiktok\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'[]\', \'\xf0\x9f\x98\x80\', \'2026-10-18T06:39:08\'::timestamp, \'Rita TikTok\', \'biz_1\', \'conv_record\', \'customer_record\', 119, 47, \'4BDBPpKi9i\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:09 ERROR ERROR: TestTikTokMessaging.test_composer_from_a_record_replies_in_the_customer_conversation Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 434, in test_composer_from_a_record_replies_in_the_customer_conversation channel = self.env['discuss.channel']._get_or_create_tiktok_channel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_social_tiktok_messaging/models/discuss_channel.py", line 99, in _get_or_create_tiktok_channel channel = self.sudo().create({ ^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/discuss_channel.py", line 417, in create channels = super(DiscussChannel, self.with_context(mail_create_bypass_create_check=self.env['discuss.channel.member']._bypass_create_check, mail_create_nolog=True, mail_create_nosubscribe=True)).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/mail_thread.py", line 329, in create threads = super(MailThread, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:09 ERROR bad query: b'INSERT INTO "discuss_channel" ("active", "channel_type", "create_date", "create_uid", "d_whatsapp_chatbot_answers", "favorite_icon", "last_interest_dt", "name", "tiktok_business_open_id", "tiktok_conversation_id", "tiktok_participant_id", "tiktok_partner_id", "tiktok_social_account_id", "uuid", "write_date", "write_uid") VALUES (true, \'tiktok\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'[]\', \'\xf0\x9f\x98\x80\', \'2026-10-18T06:39:08\'::timestamp, \'App Customer\', \'biz_1\', \'conv_app\', \'customer_app\', 120, 47, \'5viNAKJ6dk\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:09 ERROR ERROR: TestTikTokMessaging.test_conversation_listed_in_messaging_app Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 581, in test_conversation_listed_in_messaging_app channel = Channel._get_or_create_tiktok_channel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_social_tiktok_messaging/models/discuss_channel.py", line 99, in _get_or_create_tiktok_channel channel = self.sudo().create({ ^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/discuss_channel.py", line 417, in create channels = super(DiscussChannel, self.with_context(mail_create_bypass_create_check=self.env['discuss.channel.member']._bypass_create_check, mail_create_nolog=True, mail_create_nosubscribe=True)).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/mail_thread.py", line 329, in create threads = super(MailThread, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:10 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:10 ERROR FAIL: TestTikTokMessaging.test_disabled_callback_account_still_routes_the_other_businesses Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 402, in test_disabled_callback_account_still_routes_the_other_businesses self.assertEqual(response.status_code, 200) AssertionError: 403 != 200
2026-10-18 06:39:10 ERROR bad query: b'INSERT INTO "tiktok_sync_state" ("active", "attempt_count", "business_id", "conversation_id", "create_date", "create_uid", "participant_id", "priority", "processed_count", "social_account_id", "status", "sync_type", "write_date", "write_uid") VALUES (true, 0, \'biz_1\', \'conv_hist\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'customer_1\', 10, 0, 47, \'pending\', \'messages\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "tiktok_sync_state" violates foreign key constraint "tiktok_sync_state_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:10 ERROR ERROR: TestTikTokMessaging.test_history_import_keeps_the_message_date Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 311, in test_history_import_keeps_the_message_date job = self.env['tiktok.sync.state'].create({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "tiktok_sync_state" violates foreign key constraint "tiktok_sync_state_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:10 ERROR bad query: b'INSERT INTO "discuss_channel" ("active", "channel_type", "create_date", "create_uid", "d_whatsapp_chatbot_answers", "favorite_icon", "last_interest_dt", "name", "tiktok_business_open_id", "tiktok_conversation_id", "tiktok_participant_id", "tiktok_partner_id", "tiktok_social_account_id", "uuid", "write_date", "write_uid") VALUES (true, \'tiktok\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'[]\', \'\xf0\x9f\x98\x80\', \'2026-10-18T06:39:09\'::timestamp, \'Retry TikTok\', \'biz_1\', \'conv_retry\', \'customer_retry\', 121, 47, \'UwJPBxnhiS\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:10 ERROR ERROR: TestTikTokMessaging.test_network_and_rate_limit_failures_can_be_resent Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 362, in test_network_and_rate_limit_failures_can_be_resent channel = self.env['discuss.channel']._get_or_create_tiktok_channel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_social_tiktok_messaging/models/discuss_channel.py", line 99, in _get_or_create_tiktok_channel channel = self.sudo().create({ ^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/discuss_channel.py", line 417, in create channels = super(DiscussChannel, self.with_context(mail_create_bypass_create_check=self.env['discuss.channel.member']._bypass_create_check, mail_create_nolog=True, mail_create_nosubscribe=True)).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/mail_thread.py", line 329, in create threads = super(MailThread, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR bad query: b'INSERT INTO "discuss_channel" ("active", "channel_type", "create_date", "create_uid", "d_whatsapp_chatbot_answers", "favorite_icon", "last_interest_dt", "name", "tiktok_business_open_id", "tiktok_conversation_id", "tiktok_participant_id", "tiktok_partner_id", "tiktok_social_account_id", "uuid", "write_date", "write_uid") VALUES (true, \'tiktok\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'[]\', \'\xf0\x9f\x98\x80\', \'2026-10-18T06:39:10\'::timestamp, \'Rea TikTok\', \'biz_1\', \'conv_reader\', \'customer_reader\', 123, 47, \'yVWIUvdC8Q\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR ERROR: TestTikTokMessaging.test_operator_reading_the_record_can_send Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 481, in test_operator_reading_the_record_can_send channel = self.env['discuss.channel']._get_or_create_tiktok_channel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_social_tiktok_messaging/models/discuss_channel.py", line 99, in _get_or_create_tiktok_channel channel = self.sudo().create({ ^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/discuss_channel.py", line 417, in create channels = super(DiscussChannel, self.with_context(mail_create_bypass_create_check=self.env['discuss.channel.member']._bypass_create_check, mail_create_nolog=True, mail_create_nosubscribe=True)).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/mail_thread.py", line 329, in create threads = super(MailThread, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR bad query: b'INSERT INTO "discuss_channel" ("active", "channel_type", "create_date", "create_uid", "d_whatsapp_chatbot_answers", "favorite_icon", "last_interest_dt", "name", "tiktok_business_open_id", "tiktok_conversation_id", "tiktok_participant_id", "tiktok_partner_id", "tiktok_social_account_id", "uuid", "write_date", "write_uid") VALUES (true, \'tiktok\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'[]\', \'\xf0\x9f\x98\x80\', \'2026-10-18T06:39:10\'::timestamp, \'John TikTok\', \'biz_1\', \'conv_out\', \'customer_out\', 124, 47, \'yY8yiFtvBN\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR ERROR: TestTikTokMessaging.test_operator_reply_is_sent_to_tiktok Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 412, in test_operator_reply_is_sent_to_tiktok channel = self.env['discuss.channel']._get_or_create_tiktok_channel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_social_tiktok_messaging/models/discuss_channel.py", line 99, in _get_or_create_tiktok_channel channel = self.sudo().create({ ^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/discuss_channel.py", line 417, in create channels = super(DiscussChannel, self.with_context(mail_create_bypass_create_check=self.env['discuss.channel.member']._bypass_create_check, mail_create_nolog=True, mail_create_nosubscribe=True)).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/mail_thread.py", line 329, in create threads = super(MailThread, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR bad query: b'INSERT INTO "discuss_channel" ("active", "channel_type", "create_date", "create_uid", "d_whatsapp_chatbot_answers", "favorite_icon", "last_interest_dt", "name", "tiktok_business_open_id", "tiktok_conversation_id", "tiktok_participant_id", "tiktok_partner_id", "tiktok_social_account_id", "uuid", "write_date", "write_uid") VALUES (true, \'tiktok\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'[]\', \'\xf0\x9f\x98\x80\', \'2026-10-18T06:39:10\'::timestamp, \'Parts Customer\', \'biz_1\', \'conv_parts\', \'customer_parts\', 125, 47, \'yp2MpYmrrP\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR ERROR: TestTikTokMessaging.test_outbound_parts_are_tracked_separately Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 189, in test_outbound_parts_are_tracked_separately channel = self.env['discuss.channel']._get_or_create_tiktok_channel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons-ee/d_ee_social_tiktok_messaging/models/discuss_channel.py", line 99, in _get_or_create_tiktok_channel channel = self.sudo().create({ ^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/discuss/discuss_channel.py", line 417, in create channels = super(DiscussChannel, self.with_context(mail_create_bypass_create_check=self.env['discuss.channel.member']._bypass_create_check, mail_create_nolog=True, mail_create_nosubscribe=True)).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/addons/mail/models/mail_thread.py", line 329, in create threads = super(MailThread, self).create(vals_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "discuss_channel" violates foreign key constraint "discuss_channel_tiktok_social_account_id_fkey" DETAIL: Key (tiktok_social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR bad query: b'INSERT INTO "tiktok_message" ("conversation_id", "create_date", "create_uid", "direction", "message_type", "msg_uid", "sent_date", "social_account_id", "state", "write_date", "write_uid") VALUES (\'conv_read\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'outbound\', \'TEXT\', DEFAULT, \'2026-10-18T06:39:11\'::timestamp, 47, \'outgoing\', \'2026-10-18T06:39:07.796606\'::timestamp, 1), (\'conv_read\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'outbound\', \'TEXT\', \'msg_read\', \'2026-10-18T06:39:11\'::timestamp, 47, \'sent\', \'2026-10-18T06:39:07.796606\'::timestamp, 1), (\'conv_read\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'outbound\', \'TEXT\', \'msg_read_2\', \'2026-10-18T06:39:11\'::timestamp, 48, \'sent\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "tiktok_message" violates foreign key constraint "tiktok_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR ERROR: TestTikTokMessaging.test_read_receipt_keeps_queued_messages_queued Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 97, in test_read_receipt_keeps_queued_messages_queued queued, sent, other_business = self.env['tiktok.message'].create([ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "tiktok_message" violates foreign key constraint "tiktok_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR bad query: b'INSERT INTO "tiktok_auto_message" ("active", "answer", "auto_message_type", "create_date", "create_uid", "name", "question", "sequence", "social_account_id", "state", "tiktok_auto_message_id", "write_date", "write_uid") VALUES (true, \'9 to 6.\', \'SUGGESTED_QUESTION\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'Auto Message\', \'Opening hours?\', 10, 47, \'active\', \'am_gone\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "tiktok_auto_message" violates foreign key constraint "tiktok_auto_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 ERROR ERROR: TestTikTokMessaging.test_refresh_forgets_an_auto_message_deleted_on_tiktok Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 261, in test_refresh_forgets_an_auto_message_deleted_on_tiktok auto = self.env['tiktok.auto.message'].create({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "tiktok_auto_message" violates foreign key constraint "tiktok_auto_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:11 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:11 ERROR FAIL: TestTikTokMessaging.test_reply_window_starts_at_the_customer_message Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 341, in test_reply_window_starts_at_the_customer_message self.assertEqual((late.sent_date, late.mail_message_id.date), (old, old), AssertionError: Tuples differ: (False, False) != (datetime.datetime(2026, 10, 16, 6, 39, 11[41 chars] 11)) First differing element 0: False datetime.datetime(2026, 10, 16, 6, 39, 11) - (False, False) + (datetime.datetime(2026, 10, 16, 6, 39, 11), + datetime.datetime(2026, 10, 16, 6, 39, 11)) : the message is shown at the time the customer wrote
2026-10-18 06:39:12 ERROR bad query: b'INSERT INTO "tiktok_auto_message" ("active", "answer", "auto_message_type", "create_date", "create_uid", "name", "question", "sequence", "social_account_id", "state", "write_date", "write_uid") VALUES (true, \'9 to 6.\', \'SUGGESTED_QUESTION\', \'2026-10-18T06:39:07.796606\'::timestamp, 1, \'Auto Message\', \'Opening hours?\', 10, 47, \'draft\', \'2026-10-18T06:39:07.796606\'::timestamp, 1) RETURNING "id"' ERROR: insert or update on table "tiktok_auto_message" violates foreign key constraint "tiktok_auto_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:12 ERROR ERROR: TestTikTokMessaging.test_synced_auto_message_keeps_its_account_and_type Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 248, in test_synced_auto_message_keeps_its_account_and_type auto = self.env['tiktok.auto.message'].create({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/decorators.py", line 369, in create return method(self, vals_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4717, in create records = self._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo-enteprise/ai_fields/models/models.py", line 43, in _create return super()._create(data_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/build/odoo/odoo/orm/models.py", line 4894, in _create cr.execute(SQL( File "/data/build/odoo/odoo/sql_db.py", line 440, in execute self._obj.execute(query, params) psycopg2.errors.ForeignKeyViolation: insert or update on table "tiktok_auto_message" violates foreign key constraint "tiktok_auto_message_social_account_id_fkey" DETAIL: Key (social_account_id)=(47) is not present in table "social_account".
2026-10-18 06:39:12 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:12 ERROR FAIL: TestTikTokMessaging.test_unknown_message_type_is_kept_as_other Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 356, in test_unknown_message_type_is_kept_as_other self.assertEqual(response.status_code, 200, 'an error answer makes TikTok deliver the event again') AssertionError: 403 != 200 : an error answer makes TikTok deliver the event again
2026-10-18 06:39:12 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:12 ERROR FAIL: TestTikTokMessaging.test_webhook_failure_asks_tiktok_to_retry Traceback (most recent call last): File "/data/build/odoo/odoo/tools/misc.py", line 779, in deco return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 135, in test_webhook_failure_asks_tiktok_to_retry self.assertEqual(response.status_code, 500, 'TikTok delivers the event again') AssertionError: 403 != 500 : TikTok delivers the event again
2026-10-18 06:39:13 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:13 ERROR FAIL: TestTikTokMessaging.test_webhook_ignores_business_without_messaging Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 393, in test_webhook_ignores_business_without_messaging self.assertEqual(response.status_code, 200) AssertionError: 403 != 200
2026-10-18 06:39:13 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:13 ERROR FAIL: TestTikTokMessaging.test_webhook_ignores_unknown_business Traceback (most recent call last): File "/data/build/odoo/odoo/tools/misc.py", line 779, in deco return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 386, in test_webhook_ignores_unknown_business self.assertEqual(response.status_code, 200) AssertionError: 403 != 200
2026-10-18 06:39:13 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:13 ERROR FAIL: TestTikTokMessaging.test_webhook_image_is_retried_until_downloaded Traceback (most recent call last): File "/data/build/odoo/odoo/tools/misc.py", line 779, in deco return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 166, in test_webhook_image_is_retried_until_downloaded self.assertEqual(response.status_code, 500, 'temporary failure: TikTok delivers the event again') AssertionError: 403 != 500 : temporary failure: TikTok delivers the event again
2026-10-18 06:39:13 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:13 ERROR FAIL: TestTikTokMessaging.test_webhook_inbound_message_creates_channel_once Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 109, in test_webhook_inbound_message_creates_channel_once self.assertEqual(response.status_code, 200) AssertionError: 403 != 200
2026-10-18 06:39:13 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:14 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:14 ERROR FAIL: TestTikTokMessaging.test_webhook_routes_by_user_openid Traceback (most recent call last): File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 306, in test_webhook_routes_by_user_openid self.assertEqual(tracker.social_account_id, self.account_2) AssertionError: social.account() != d.social.account(48,)
2026-10-18 06:39:14 WARNING TikTok webhook: unknown account_id 47
2026-10-18 06:39:14 ERROR FAIL: TestTikTokMessaging.test_webhook_unavailable_image_keeps_the_message Traceback (most recent call last): File "/data/build/odoo/odoo/tools/misc.py", line 779, in deco return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/data/build/duong-addons/d_social_tiktok_messaging/tests/test_tiktok_messaging.py", line 182, in test_webhook_unavailable_image_keeps_the_message self.assertEqual(response.status_code, 200) AssertionError: 403 != 200
2026-10-18 06:41:17 ERROR ERROR: TestDWhatsappComposer.test_chatter_button_flag Traceback (most recent call last): File "/data/build/duong-addons/d_whatsapp/tests/test_composer.py", line 217, in test_chatter_button_flag self.assertTrue(flag(self.alice), 'contacts have an approved template') ^^^^^^^^^^^^^^^^ File "/data/build/duong-addons/d_whatsapp/tests/test_composer.py", line 210, in flag record._thread_to_store(store, [], request_list=['followers']) File "/data/build/duong-addons-ee/d_ee_social_tiktok_messaging/models/mail_thread.py", line 9, in _thread_to_store super()._thread_to_store(store, fields, request_list=request_list) File "/data/build/duong-addons/d_social_tiktok_messaging/models/mail_thread.py", line 16, in _thread_to_store channel = Channel._get_tiktok_channel_of_partner(Composer._get_record_partner(thread)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'tiktok.composer' object has no attribute '_get_record_partner'
2026-10-18 06:43:17 ERROR 26 failed, 24 error(s) of 743 tests when loading database '02379-19-0-all'
2026-10-18 06:43:44 INFO Getting results for build 02379-19-0
2026-10-18 06:43:44 Step test_post_install finished in 11m