跳至內容
選單
此問題已被標幟

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.  

頭像
捨棄

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

相關帖文 回覆 瀏覽次數 活動
0
2月 25
1027
2
12月 24
1375
0
7月 24
1134
0
8月 23
1598
0
5月 23
2924