跳至内容
菜单
此问题已终结
3857 查看

I tried this way here two field is not editable after save but 

problem is after save that two filed is not editable but another field didn't take any data.

Can you help me

<tree editable="bottom">
<field name="transportation_cost" attrs="{'readonly':[('id','>', 0)]}"/>
<field name="transport_bank" attrs="{'readonly':[('id','>', 0)]}"/>
<field name="transport_cash" attrs="{'readonly':[('id','>', 0)]}"/>
<field name="actual_trans_bank"/>
<field name="actual_trans_cash"/>
<field name="transportation_remarks"/>
<field name="expected_total_transportation"/>
<field name="transportation_cost_line" invisible="1"/>
</tree>
形象
丢弃
相关帖文 回复 查看 活动
1
9月 23
2359
1
9月 21
5555
1
9月 20
2601
5
5月 18
4844
1
7月 25
399