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

Check the quality with Pylint: test_lint -> test_viin_pylint

Succeed 6m merged
PR
#728
PR Author
David Tran
Committer
David Tran
Commit
7cde3aac3010
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.

Test-only change; no manifest or version change.
Odoo 18 Test Suite Using Docker
  • Check the quality with Pylint: test_lint -> test_viin_pylint
    install_module test_lint,test_viin_pylint
    exec_odoo --db_port 5435 --log-level=test --max-cron-threads=0 --load=base,web,viin_brand,to_erponline_utility,test_runbot_support --stop-after-init --test-enable --test-tags=/test_lint,/test_viin_pylint,/test_
    --db_port 5435 --log-level=test --max-cron-threads=0 --load=base,web,viin_brand,to_erponline_utility,test_runbot_support --stop-after-init --test-enable --test-tags=/test_lint,/test_viin_pylint,/test_lint,/test_viin_pylint,-/test_lint:TestPyLint.test_pylint
Build Log
Date Level Message
12/02/2026 07:26:38 AM INFO
Check the quality with Pylint: test_lint -> test_viin_pylint: Command: install_module args: test_lint,test_viin_pylint
12/02/2026 07:26:38 AM INFO
Check the quality with Pylint: test_lint -> test_viin_pylint: Command: exec_odoo args: --db_port 5435 --log-level=test --max-cron-threads=0 --load=base,web,viin_brand,to_erponline_utility,test_runbot_support --stop-after-init --test-enable --test-tags=/test_lint,/test_viin_pylint,/test_lint,/test_viin_pylint,-/test_lint:TestPyLint.test_pylint
12/02/2026 07:26:38 AM 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-7cde3aa-227459 -d rb-7cde3aa-227459-445523 --data-dir /data/build/datadir -i test_lint,test_viin_pylint --db_port 5435 --log-level=test --max-cron-threads=0 --load=base,web,viin_brand,to_erponline_utility,test_runbot_support --stop-after-init --test-enable --test-tags=/test_lint,/test_viin_pylint,/test_lint,/test_viin_pylint,-/test_lint:TestPyLint.test_pylint ;
12/02/2026 07:26:38 AM INFO
Using Dockerfile tag odoo18python312:DockerImage
12/02/2026 07:26:38 AM INFO
Container rb-7cde3aa-227459-445523 started !
12/02/2026 07:32:42 AM INFO
Container rb-7cde3aa-227459-445523 stopped !
12/02/2026 07:32:44 AM INFO
Cleaning all resource
12/02/2026 07:32:44 AM INFO
Cleanup finished