We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a54aae commit fc4fa5bCopy full SHA for fc4fa5b
auth_impersonate_user/views/res_users.xml
@@ -7,7 +7,7 @@
7
<xpath expr="//field[@name='company_id']" position="after">
8
<button
9
name="impersonate_user"
10
- invisible="(can_impersonate_user == False),(can_be_impersonated == False)"
+ invisible="not can_be_impersonated or not can_impersonate_user"
11
string="Impersonate"
12
type="object"
13
class="oe_highlight"
@@ -24,7 +24,7 @@
24
<xpath expr="//header" position="inside">
25
26
27
28
29
30
/>
0 commit comments