have created server action button in res.partner tree view but I want to show it only in the menu that I have created in purchase. If the menu is contact then button should be hidden.
I want to show that button here only:
But the button should be hidden here:
Any suggestions would be appreciated. Thanks