Is it possible If yes, how should it do it ?
I would like to hide a button but it should be visible only for one user with very specific id or login/name.
I tried to use user_id but it gives me an error: Uncaught Error: Unknown field user_id in domain [["user_id","!=","Wario"]]
and I can't add user_id because is not available in stock module ;)
http://...../web/static/src/js/view_form.js:1697
Already checked this post:
https://www.odoo.com/forum/help-1/question/conditionally-display-or-hide-a-field-in-a-view-13042
Help a bit but not as much as I need ;)
hi, to get the id of your current user you can use "self._uid" I think.
nope, it doesn't work ;(
Why everything is so complicated in Odoo ..... :)