Name: [ADD/FIX] viin_ai: Phase 3.5 hardening + Phase 3.7 features (SRS v1.1 follow-up)

State: Failed finished in 19m

PR State: merged

PR Author: David Tran

PR Author Email:

PR: #23

Committer: Viinbot

Committer Email: viinbot@mail.viindoo.com

Commit: 135fbc76803019f54cc646dd23d64e988513bcfe

Description:

                                            [FIX] viin_ai_chat: tour menu xmlid typo (legacy cleanup)

Tour tour_c2_ux_newbie_onboarding searched for an Apps tile with
data-menu-xmlid='viin_ai_base.menu_root_viin_ai', but the actual
xmlid declared in viin_ai_base/views/menus.xml is 'menu_root_ai'.
Mismatch surfaced as a tour failure on every install — pre-existing
legacy typo (not caused by this campaign).

Plan §"Quy tắc fix legacy errors/warnings" allows root-cause fixes
in cluster viin_ai_*; this is a 1-character correction with zero
behavioural change beyond letting the tour find its target.
                                            

Branch: 17.0

Instance ID: 0

Age:

Up-time:

Subbuilds Name State Detail
Build 381322 Check the quality with Pylint: from test_lint to test_pylint 19m Failed Log
Build 381323 At install tests: from account to website_twitter 128m Succeed Log
Build 381324 Post install tests: step install all modules 68m Succeed Log
Build 381325 Post install tests: from account to payment_alipay 154m Succeed Log
Build 381326 Post install tests: from payment_aps to test_viin_web_cohort 190m Succeed Log
Build 381327 Post install tests: from test_website to to_website_apps_store 79m Succeed Log
Build 381328 Post install tests: from to_website_apps_store_loc to viin_estimate_sale 79m Failed Log
Build 381329 Post install tests: from viin_event_checkin_website to viin_project_gantt 39m Succeed Log
Build 381330 Post install tests: from viin_project_progress to website_twitter 48m Failed Log
Build 381331 Test install all modules without demo data: from account to website_twitter 53m Succeed Log
Create Date Level Message
05/02/2026 11:20:59 INFO
Updated repository Viindoo-odoo
05/02/2026 11:20:59 INFO
Updated repository Viindoo-tvtmaaddons
05/02/2026 11:20:59 INFO
Updated repository Viindoo-erponline-enterprise
05/02/2026 11:20:59 INFO
Updated repository Viindoo-branding
05/02/2026 11:20:59 INFO
Cloned repository Viindoo-ai
05/02/2026 11:40:50 ERROR
Subbuild # 381322: odoo.addons.test_pylint.tests.test_flake8: FAIL: TestFlake8.test_flake8 Traceback (most recent call last): File "/data/build/Viindoo-tvtmaaddons-17.0/test_pylint/tests/test_flake8.py", line 91, in test_flake8 self.fail("flake8 test failed:\n" + (b"\n" + out + b"\n" + err).decode('utf-8').strip()) AssertionError: flake8 test failed: /data/build/rb-135fbc7-221681/viin_ai_agent/tests/test_sql_template.py:156:9: F841 local variable 'p_visible' is assigned to but never used /data/build/rb-135fbc7-221681/viin_ai_chat/models/mail_compose_message.py:17:1: F401 'odoo.api' imported but unused
05/02/2026 11:40:50 ERROR
Subbuild # 381322: odoo.modules.loading: Module test_pylint: 1 failures, 0 errors of 7 tests
05/02/2026 11:40:50 ERROR
Subbuild # 381322: odoo.modules.loading: At least one test failed when loading the modules.
05/02/2026 11:40:50 ERROR
Subbuild # 381322: odoo.tests.result: 1 failed, 0 error(s) of 24 tests when loading database 'rb-135fbc7-221681-381322'
05/02/2026 13:50:16 ERROR
Subbuild # 381328: ERROR: operator does not exist: jsonb ~~ unknown
05/02/2026 13:50:16 ERROR
Subbuild # 381328: odoo.sql_db: bad query: WITH __acl_allowed AS (SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL OR "res_partner"."partner_share" = FALSE) OR ("res_partner"."company_id" IN (SELECT "res_company"."id" FROM "res_company" WHERE ("res_company"."id" IN (1))))) OR "res_partner"."company_id" IS NULL) AND (("res_partner"."id" != '1286') OR "res_partner"."id" IS NULL))) SELECT id, name FROM res_partner WHERE id IN (SELECT id FROM __acl_allowed) AND name LIKE 'TPL-%%-PARTNER' LINE 1: ...ERE id IN (SELECT id FROM __acl_allowed) AND name LIKE 'TPL-... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
05/02/2026 13:50:16 ERROR
Subbuild # 381328: odoo.addons.viin_ai_agent.tests.test_sql_template: ERROR: TestSqlTemplateAclAndExecute.test_ir_rule_subquery_acl Traceback (most recent call last): File "/data/build/rb-135fbc7-221681/viin_ai_agent/tests/test_sql_template.py", line 186, in test_ir_rule_subquery_acl rows = tpl.with_user(regular).execute({}) File "/data/build/rb-135fbc7-221681/viin_ai_agent/models/sql_template.py", line 264, in execute cr.execute(full_sql, params) File "/data/build/Viindoo-odoo-17.0/odoo/sql_db.py", line 342, in execute res = self._obj.execute(query, params) psycopg2.errors.UndefinedFunction: operator does not exist: jsonb ~~ unknown LINE 1: ...ERE id IN (SELECT id FROM __acl_allowed) AND name LIKE 'TPL-... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
05/02/2026 13:50:16 ERROR
Subbuild # 381328: odoo.tests.result: 0 failed, 1 error(s) of 1744 tests when loading database 'rb-135fbc7-221681-381328'
05/02/2026 13:20:14 ERROR
Subbuild # 381330: odoo.addons.web.tests.test_assets: ERROR: TestLogsAssetsGenerateTime.test_logs_assets_generate_time Traceback (most recent call last): File "/data/build/Viindoo-odoo-17.0/addons/web/tests/test_assets.py", line 55, in test_logs_assets_generate_time for bundle, duration in list(self.generate_bundles()): File "/data/build/Viindoo-odoo-17.0/addons/web/tests/test_assets.py", line 41, in generate_bundles bundle.js() File "/data/build/Viindoo-odoo-17.0/odoo/addons/base/models/assetsbundle.py", line 349, in js js_attachment = self.save_attachment(extension, content_bundle) File "/data/build/Viindoo-odoo-17.0/odoo/addons/base/models/assetsbundle.py", line 302, in save_attachment 'raw': content.encode('utf8'), MemoryError
05/02/2026 13:20:14 ERROR
Subbuild # 381330: odoo.tests.result: 0 failed, 1 error(s) of 1405 tests when loading database 'rb-135fbc7-221681-381330'