Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] website_event: repair hide_sponsors with correct selector
Before this fix, the 'hide_sponsors' value was used to hide the row of sponsors in several views: - page of all exhibitors - page of single exhibitor - if website_event_track is installed -> registration confirmation But actually it did not do anything anymore, because the old selector used to apply the display none !important was hard-coded to the previous code structure. This is very unstable, and structure changed first in 35f70e5 Also, o_wevent_sponsor_wrapper selector was not used anywhere. FIX: Use o_wevent_sponsor_wrapper to not depend of structure anymore. 'hide_sponsors' adds o_wevent_hide_sponsors on the view and the sponsors bar will be hidden, as expected. Task-3213873 closes odoo#115453 X-original-commit: 13778a4 Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
- Loading branch information