Display only last menu entry as tab name
Since #9937 (closed) the tab names for window opened from menu are the full path. The problem as pointed in https://discuss.tryton.org/t/how-to-change-the-tab-title-back-as-per-version-5-8/4297 is that it does not help when many tabs are opened from the same menu roots. I think it will be better to use only the last menu entry of the path just for the tab (and keep the path as title).