This question has been flagged
1 Reply
3827 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