Name:
[IMP] viin_ai/viin_brain: Wave-1/2 residuals + Brain editor full-width + sidebar bind
State:
Failed
finished in 20m
PR State:
merged
PR Author:
David Tran
PR Author Email:
PR:
#76
Committer:
David Tran
Committer Email:
davidtran.hp@gmail.com
Commit:
7ddaebfd4024d6bea3495d2f1e881f2858f24b18
Description:
[FIX] viin_brain: remove hardcoded `url` from 3 test-only tours (WI-9 redirect bug)
tour_service.js (Odoo 17 line 351) redirects to `tour.url` when it differs
from `options.startUrl`. All 3 tours had a static `url` field that differed
from the Python-supplied startUrl (which carries active_page_id +
active_vault_id), so the runner navigated away from the params-bearing URL
before BrainApp could read them - making active_page_id a no-op.
Fix: drop `url` from the 3 test-only tours so tour_service's
`if (tour.url && tour.url !== options.startUrl && options.redirect)` guard is
never entered. The Python wrappers already supply the correct start URL;
these tours exist only for automated tests so the `url` field is not needed.
Tours fixed:
- viin_brain_editor_overflow (was "/web#action=viin_brain.action_viin_brain_app")
- viin_brain_3pane_resize (was "/web#action=viin_brain.action_viin_brain_app")
- viin_brain_moderation_badge (was "/odoo/brain")
Branch:
17.0
Instance ID:
0
Age:
Up-time: