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
1029
2
jouluk. 24
1391
0
heinäk. 24
1138
0
elok. 23
1604
0
toukok. 23
2936