The line if hasattr(default_val, '_id'): seems to assume that self._get_default() could return a browse record. But I don't think this is the case.
« Back to merge proposal
The line default_ val, '_id'): _get_default( )
if hasattr(
seems to assume that
self.
could return a browse record. But I don't think this is the case.