Skip to Content

Name: [FIX] viin_backend_theme: keep apps menu open while app reloads - Check the quality with Pylint: from test_lint to test_viin_pylint

State: Succeed finished in 39m

PR State: merged

PR Author: David Tran

PR Author Email:

PR: #693

Committer: David Tran

Committer Email: david.tran@tvtmarine.com

Commit: 133655dc2532cf9269c8bd5207554f14d31d10c4

Description:

                                [FIX] viin_backend_theme: keep apps menu open while app reloads

Opening the apps menu from the navbar while an app was still reloading
(for example clicking the app brand and then the apps button before the
screen finished loading) closed the menu before its tiles appeared, so
the user saw nothing to pick an app from. It broke the runbot
hr_expense tour create_expense_no_employee_access_tour (step 13/13,
.o_app tile not found, 4 failures out of 5 runs).

Cause: NavBar.setup() closed the menu overlay on every
ACTION_MANAGER:UI-UPDATED. The reload started by the brand click
finished while the overlay's ViinHomeMenu was still in onWillStart (its
mail.activity search_count and res.users read RPCs), so the overlay
entry was removed before any tile was mounted.

The UI-UPDATED listener is removed. The menu is still closed by a route
change, outside click, Escape and when the navbar is destroyed; the
mobile "All Apps" guard that refuses to open a menu before any screen
exists is unchanged.

Tests: a Hoot desktop test holds the list reload and the menu's own
RPCs and requires the overlay and its app tiles to be on screen once
both finish; it fails with the listener and passes without it. The
mobile test that faked a screen to assert the removed close is dropped;
the real guard stays covered by "All Apps tapped while the boot app menu
is still loading opens no overlay and the toggle keeps working".

Signed-off-by: David Tran <david.tran@tvtmarine.com>
                                

Branch: 19.0

Age:

Up-time:

Odoo 19 Test Suite Using Docker

Check the quality with Pylint: from test_lint to test_viin_pylint

  • install_module test_lint,test_viin_pylint
  • exec_odoo --db_port 5435 --log-level=test --max-cron-threads=0 --load=base,rpc,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_pofiles_string_formatting
Create Date Level Message
10/21/2026 01:15:05 PM INFO
Check the quality with Pylint: from test_lint to test_viin_pylint: Command: install_module args: test_lint,test_viin_pylint
10/21/2026 01:15:05 PM INFO
Check the quality with Pylint: from test_lint to test_viin_pylint: Command: exec_odoo args: --db_port 5435 --log-level=test --max-cron-threads=0 --load=base,rpc,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_pofiles_string_formatting
10/21/2026 01:15:05 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-19.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-19.0/requirements.txt && python3 Viindoo-odoo-19.0/odoo-bin --addons-path Viindoo-odoo-19.0/odoo/addons,Viindoo-odoo-19.0/addons,Viindoo-tvtmaaddons-19.0,Viindoo-erponline-enterprise-19.0,rb-133655d-225807 -d rb-133655d-225807-427160 --data-dir /data/build/datadir -i test_lint,test_viin_pylint --db_port 5435 --log-level=test --max-cron-threads=0 --load=base,rpc,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_pofiles_string_formatting ;
10/21/2026 01:15:05 PM INFO
Using Dockerfile tag odoo19python312:DockerImage
10/21/2026 01:15:05 PM INFO
Container rb-133655d-225807-427160 started !
10/21/2026 01:55:00 PM INFO
Container rb-133655d-225807-427160 stopped !
10/21/2026 01:55:00 PM INFO
Cleaning all resource
10/21/2026 01:55:00 PM INFO
Cleanup finished