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

Hello All,

I want to make 'readonly' a single row of sale order line for particular condition. Can it is possible for a check box, if check box(is_pack) condition is true, than that row is readonly?

Thanks in advance.  

Avatar
Hylkää

Hi,You can set attributes for all fields -- attrs="{'readonly':[('bool_field','!=',True)]}"

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
helmik. 25
1302
2
jouluk. 24
1591
0
heinäk. 24
1275
0
elok. 23
1789
0
toukok. 23
3152