Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
8428 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć

give string also to be displayed

Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 18
106
0
lut 25
1066
2
gru 24
1409
0
lip 24
1159
2
lis 23
7467