Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
8418 มุมมอง

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..

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 18
106
0
ก.พ. 25
1038
2
ธ.ค. 24
1401
0
ก.ค. 24
1140
2
พ.ย. 23
7442