I search how to add Event icon in some user desktop.
So I try to do it with command line from bench
here the command I used
bench execute frappe.desk.doctype.desktop_icon.desktop_icon.add_user_icon --args "'Event', None, 'Event', 'List/Event/List'"
After this I search in the tabDesktop Icon
table the values inserted, it was done for Administrator so I change the owner with sql to set the right user.
Could someone tell me if it’s possible to run bench execute
with a specific user ?
Regards.