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

Hi, in this particular case i have 10 boolean fields, the user can select all fields or just some ones, every time when the user select or unselect a field, the function must increment or decrement the value of two fields type integer (selected fields: and unselect fields). When i create a new record in my form all the fields are unselected; selected field must display: 0, unselected fields must display: 10. i am using on_change and a function but i can't install the module i get the error: AttributeError: 'int' object has no attribute 'id' and i can't continue.

Thank you :-)

形象
丢弃
相关帖文 回复 查看 活动
1
7月 25
311
0
7月 25
336
1
5月 25
818
0
3月 25
960
0
3月 25
881