[IMP] fields: split the default value from the compute function

This separation allows to set a default value on a related field, for instance.