parameters: (self)
return_statement: return result
docstring: As 'category' field in form view is a Many2one, its value will be in
          lower case. In order to display its value capitalized 'name_get' is
          overrided.
docstring_summary: As 'category' field in form view is a Many2one, its value will be in
          lower case. In order to display its value capitalized 'name_get' is
          overrided.
docstring_tokens: As category field in form view is a Many2one its value will be in lower case . In order to display its value capitalized name_get is overrided .
function: def name_get(self):
          """ As 'category' field in form view is a Many2one, its value will be in
          lower case. In order to display its value capitalized 'name_get' is
          overrided.
          """
          result = []
          for rec in self:
              result.append((rec.id, rec.loss_type.title()))
          return result
function_tokens: def name_get ( self ) : result = [ ] for rec in self : result . append ( ( rec . id , rec . loss_type . title ( ) ) ) return result