title: How to get two _rec_names in odoo for two many2one fields in single class?
body: <p>I have following code I want this two fields <code>asset_catg_id</code> and <code>folio_num</code>. 
  These should be available for many2one two fields. How to write 2 _rec_name for a single class?</p>
  
  <pre><code>class asset_asset(osv.osv):
      _inherit = "asset.asset"
      #_name = "asset_asset"
      _rec_name= "folio_num"
      #_rec_name = "assetmodelid_add"
      _columns = {
          'name': fields.char('Asset Name', size=64),
          'company_id1': fields.many2one('res.company', 'Substation', required=True),
          #'place1': fields.many2one('asset.parentlocation', 'Location'),
          'asset_catg_id' : fields.many2one('asset.catg', 'Asset Catg Selection',select=True, required=True),
              'area_id' : fields.many2one('asset.name', 'Asset Name Selection', domain="[('asset_catg_id', '=', asset_catg_id)]", select=True, required=True),
          'assetmodelid_add' : fields.many2one('agile.portfolio1','Asset Model Code',domain="[('area_id', '=', area_id)]",),
          'folio_num' : fields.char('Folio No',),
          'asse_line':fields.one2many('asset.line','emp_id','Name Plate'),
          'asse_line2':fields.one2many('asset.part','emp_id1','Parts'),
                 #'assed_modelid':fields.many2one('agile.portfolio1','Asset Model ID',select=True, required=True),
          'quantity': fields.char('Quantity',size=64),
          'uom': fields.char('Uinit of Measure',size=64),
          'model_no' : fields.char('Model', size=64),
  
          #'asset_id':fields.many2one('agile.portfolio','Asset ID'),
  
      }
  </code></pre>