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

Hi, 

I need to add a button inside (every row) in one2many field in Purchase order line. 

Eg:

Using Icon

<button name="open_view_wizard" string="Price" type="object"

icon="fa fa-tasks" attrs="{'invisible':[('product_id','=', False)]}" />

by using this it will add icon in purchase line.

But, if i add without icon it will insert the button like text



I want to add a button without icon..

can anyone know how to resolve this...

頭像
捨棄
最佳答案

You just try one thing, Please remove the string too, like this

<button name="open_view_wizard" type="object"

 attrs="{'invisible':[('product_id','=', False)]}" />
Its may be work, BUT how you identify the Button?
any try it, 
Thanks

頭像
捨棄

give string also to be displayed

作者

I tried to add button without string, but it doesn't works.. Still it shows like that only..

相關帖文 回覆 瀏覽次數 活動
1
9月 18
106
0
2月 25
1116
2
12月 24
1440
0
7月 24
1188
2
11月 23
7503