I've added a searchpanel to the product views to show the categories. But the name of the categories is shown with all the path
I tried to add something like this to the field:
context="{'show_short_category': True}"
But the context is not passed to the name_get function.
Is there a way to show only the name of the category? (keeping the current display_name for all the other cases (like in the list view)