parameters: (self)
return_statement: return ['&', '&', ('res_model', '=', self._name), ('res_id', 'in', self.ids), ('consumed', '=', True)]
docstring: Returns a normalized domain on rating.rating to select the records to
              include in count, avg, ... computation of current model.
docstring_summary: Returns a normalized domain on rating.rating to select the records to
              include in count, avg, ... computation of current model.
docstring_tokens: Returns a normalized domain on rating . rating to select the records to include in count avg ... computation of current model .
function: def _rating_domain(self):
          """ Returns a normalized domain on rating.rating to select the records to
              include in count, avg, ... computation of current model.
          """
          return ['&', '&', ('res_model', '=', self._name), ('res_id', 'in', self.ids), ('consumed', '=', True)]
function_tokens: def _rating_domain ( self ) : return [ '&' , '&' , ( 'res_model' , '=' , self . _name ) , ( 'res_id' , 'in' , self . ids ) , ( 'consumed' , '=' , True ) ]