Getting above error creating new record in one2many field.
code is below:
def _compute_timesheet_hour(self): for val in self: self._cr.exec