I have a button in (stock_picking form) that I want to hide from a certain user (I know the DB user_id but I realize that would be ugly). I tried with the invisible attribute but I dont have the user_id in the form.
Do you have a recommended way of achieving this? Perhaps adding this user to a usergroup with a specific name, and then filtering out this group somehow in the view.