Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8424 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

give string also to be displayed

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 18
106
0
thg 2 25
1055
2
thg 12 24
1407
0
thg 7 24
1150
2
thg 11 23
7456