Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
8432 Näkymät

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää

give string also to be displayed

Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
syysk. 18
106
0
helmik. 25
1069
2
jouluk. 24
1409
0
heinäk. 24
1162
2
marrask. 23
7471