i created a on_change function, that changes the value of a certain field float. it does change its value but when i save it, the values reverts to default. in my case 0.
i tried removing the readonly, and it works. But the thing is that i need it to be a readonly so it can't be edited by the user.