odoo/odoo — pull request #3755 by sle-odoo (2014-11-19 13:25:15+00:00)
Title: [FIX] web: reload needaction of clicked secondary menu

Previously, the needaction counter were only reloaded on
1) a click on the counter of the secondary menu
2) a change of top menu
With this patch, when clicking on a secondary menu (not its
counter), we reload the needaction of the selected menu. It is
done by always adding the menu_counter div (previously: always
when the needaction counter is >0) at the loading of the menu
and explicitely call `do_load_needaction` in the `open_menu` if
the menu contains the menu_counter div.

Fixes #3088