Skip to Content
Menu
This question has been flagged
1 Reply
4817 Views

hi everybody, i what to show a button dynamic, if web_client is in edit model the button will display, in view model button will hide how to do ... thanks,

Avatar
Discard
Best Answer

try:

<button name="NAME" string="STRING" type="object" states="STATES" class="oe_edit_only" groups="GROUPS"/>

oe_edit_only will solve your problem.

Cheers

Avatar
Discard
Author

ok, Thank you very much

Related Posts Replies Views Activity
4
Dec 15
6281
0
Nov 15
5227
4
Dec 23
24213
1
Jan 24
1735
1
Sep 23
1898