odoo/odoo#180582

Created by Bugfix, Andrzej Pietrusiak (pian)
Merged at b1d3a6001c4442eb5eba881b0c776d4eaac454fb

Statuses:

label
odoo-dev:saas-17.4-opw-4171180_ensure_activitygroup_popup_closed_on_activity_clicked-pian
head
5f0c59c61527ee93fc1258033249b713754a31ff
merged
1 year ago by Marketing, Thibault Delavallee (tde)
odoo/odoo
saas-17.4 #180582
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
master #180711

[FIX] crm,calendar: ensure activitygroup popup close on mobile on activityclicked

Previous solution didn't work on mobile:
document.body.click(); // hack to close dropdown

Reproduce

  • -i mail,crm,helpdesk
  • On mobile: Click on "Activities" (fa-clock-o):
    • Selecting "Helpdesk Ticket" -> OK
    • Selecting "Lead/Opportunity" -> BUG
    • Selecting "Calendar activity" -> BUG

(it opens the leads with activities,
but it doesn't close the Activity popover, so user can't see it)

opw-4171180