[FW][FIX] web: pivot: close header dropdowns on selection
Before https://github.com/odoo/odoo/pull/137691, select a groupby in the dropdown of a pivot header would close the dropdown. Now the dropdown stays open and it is possible to add several row/col groupbys at the same time but the pivot model is not updated correctly because the update of the model is based on the groupId of the header for which the dropdown was opened. The simpler/best solution to that problem is to restore the previous behavior.
Task ID: 3985217
Forward-Port-Of: odoo/odoo#182788 Forward-Port-Of: odoo/odoo#182746
@polymorphe57 @brboi this PR targets master and is the last of the forward-port chain containing:
- odoo/odoo#183015
To merge the full chain, use
@robodoo r+
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
@polymorphe57 @brboi ci/runbot failed on this forward-port PR
@robodoo r+
