Add logging to detect modified fields
A common mistake is to have a Function
field that does not have a proper type of value (e.g. not rounded numeric). This is often detected on the clients that requests to save the modified record while the user has made no modification.
To find the guilty field we need to put some debugging print statement. I think we will ease the developer task if we provided some informative logging about the modified fields.