跳至內容
選單
此問題已被標幟
1 回覆
4964 瀏覽次數

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,

頭像
捨棄
最佳答案

try:

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

oe_edit_only will solve your problem.

Cheers

頭像
捨棄
作者

ok, Thank you very much

相關帖文 回覆 瀏覽次數 活動
4
12月 15
6471
0
11月 15
5384
4
12月 23
24213
1
1月 24
1915
1
9月 23
2043