[FIX] viin_brand_common: offline page without the module, leak guard test
Test install all modules without demo data: viin_brand_common
Succeed
3m
merged
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.
Odoo 18 Test Suite Using Docker
-
Test install all modules without demo data: viin_brand_commoninstall_module viin_brand_common
exec_odoo --db_port 5435 --load=base,web,viin_brand,to_erponline_utility,test_runbot_support --log-level=test --max-cron-threads=1 --workers=2 --gevent-port=8070 --without-demo=all --stop-after-init
--db_port 5435 --load=base,web,viin_brand,to_erponline_utility,test_runbot_support --log-level=test --max-cron-threads=1 --workers=2 --gevent-port=8070 --without-demo=all --stop-after-init
Build Log
| Date | Level | Message |
|---|---|---|
| 12/02/2026 03:21:28 PM | INFO | Test install all modules without demo data: viin_brand_common:
Command: install_module args: viin_brand_common
|
| 12/02/2026 03:21:28 PM | INFO | Test install all modules without demo data: viin_brand_common:
Command: exec_odoo args: --db_port 5435 --load=base,web,viin_brand,to_erponline_utility,test_runbot_support --log-level=test --max-cron-threads=1 --workers=2 --gevent-port=8070 --without-demo=all --stop-after-init
|
| 12/02/2026 03:21:28 PM | INFO | Docker command:
cd /data/build; mkdir -p /data/build/.pip-tmp && TMPDIR=/data/build/.pip-tmp python3 -m pip install --user --no-cache-dir --progress-bar off -r Viindoo-tvtmaaddons-18.0/requirements.txt && mkdir -p /data/build/.pip-tmp && TMPDIR=/data/build/.pip-tmp python3 -m pip install --user --no-cache-dir --progress-bar off -r Viindoo-erponline-enterprise-18.0/requirements.txt && python3 Viindoo-odoo-18.0/odoo-bin --addons-path Viindoo-odoo-18.0/odoo/addons,Viindoo-odoo-18.0/addons,Viindoo-tvtmaaddons-18.0,Viindoo-erponline-enterprise-18.0,rb-6acc782-227478 -d rb-6acc782-227478-445768 --data-dir /data/build/datadir -i viin_brand_common --db_port 5435 --load=base,web,viin_brand,to_erponline_utility,test_runbot_support --log-level=test --max-cron-threads=1 --workers=2 --gevent-port=8070 --without-demo=all --stop-after-init ;
|
| 12/02/2026 03:21:28 PM | INFO | Using Dockerfile tag odoo18python312:DockerImage
|
| 12/02/2026 03:21:28 PM | INFO | Container rb-6acc782-227478-445768 started !
|
| 12/02/2026 03:24:45 PM | INFO | Container rb-6acc782-227478-445768 stopped !
|
| 12/02/2026 03:24:49 PM | INFO | Cleaning all resource
|
| 12/02/2026 03:24:49 PM | INFO | Cleanup finished
|