Skip to Content

[FIX] viin_brand_common: offline page without the module, leak guard test

Killed 275m merged
PR
#728
PR Author
David Tran
Committer
David Tran
Commit
6acc782a023b
Branch
18.0
Age
Up-time
Commit message
[FIX] viin_brand_common: leak guard also judges the web frontend bundle

The public-bundle leak guard resolved its non-webclient bundles only
from optional apps (point_of_sale, mail, im_livechat, hr_attendance).
On a database where viin_brand_common was the only app installed, none
of them existed, so the guard verified nothing and failed.

web.assets_frontend is owned by web and exists on every database. It is
the public pages' bundle, where brand assets must not appear either, so
it is added to the guard's bundle list. The two failure messages that
told the operator to install an optional app now state the actual
condition: no bundle could be resolved.

im_livechat includes its embed bundle (im_livechat.assets_embed_core)
into web.assets_frontend for the livechat button of public pages, and
this module deliberately brands the emoji picker of that embed. So with
im_livechat installed the picker in web.assets_frontend is intended: the
guard counts web.assets_frontend as a carrier of the picker then, and
judges it as undeclared only on databases without livechat. When no
bundle is left where the picker would be a leak, the absence check is
skipped with that reason instead of failing.

Test-only change; no manifest or version change.
Build Log
Date Level Message
12/02/2026 03:20:37 PM INFO
Running on the master, the most idle machine, build containers taken: the master 27/36, office2 15/12, office1 18/12
12/02/2026 03:20:37 PM INFO
Updated repository Viindoo-odoo
12/02/2026 03:20:37 PM INFO
Updated repository Viindoo-tvtmaaddons
12/02/2026 03:20:37 PM INFO
Updated repository Viindoo-erponline-enterprise
12/02/2026 03:20:37 PM INFO
Cloned repository Viindoo-branding
12/02/2026 03:20:37 PM INFO
At install tests: this pull request changes no frontend file, so it runs without /web:WebSuite.test_unit_desktop, /web:WebSuite.test_hoot, /web:WebSuite.test_qunit_desktop, /web:MobileWebSuite.test_unit_mobile, /web:MobileWebSuite.test_qunit_mobile, /web_editor:TestOdooEditor.test_odoo_editor_suite, /im_livechat:ExternalTestSuite.test_external_livechat
12/02/2026 03:20:37 PM INFO
At install tests: this pull request changes viin_brand_common, which has a post_load hook, so it runs the at install tests of every module
12/02/2026 03:20:37 PM INFO
Post install tests: this pull request changes no frontend file, so it runs without /web:WebSuite.test_unit_desktop, /web:WebSuite.test_hoot, /web:WebSuite.test_qunit_desktop, /web:MobileWebSuite.test_unit_mobile, /web:MobileWebSuite.test_qunit_mobile, /web_editor:TestOdooEditor.test_odoo_editor_suite, /im_livechat:ExternalTestSuite.test_external_livechat
12/02/2026 03:20:37 PM INFO
Post install tests: 9 parallel builds balanced by the test time measured on 18.0, the longest about 167 minutes of tests
12/02/2026 03:20:37 PM INFO
Test install all modules without demo data: it installs the modules this pull request changes: viin_brand_common
12/02/2026 03:20:37 PM INFO
Test install all modules with demo data: it installs the modules this pull request changes: viin_brand_common
12/02/2026 04:28:48 PM INFO
Post install tests: no parallel build added, the master has 54 of its 36 build containers taken