title: retrieve values from the same record from a field odoo 10
body: <p>I will want to retrieve different values ​from a chosen field. Let me explain:
  I have this class:</p>
  
  <pre><code>class SchoolWebServices(models.Model):
  
      _name = 'ecole.webservices'
  
      name = fields.Char(string='Nom')
      code_produit = fields.Char(string='Produit')
      code_CDG = fields.Char(string='Centre de Gestion')
      code_Catalog = fields.Char(string='Catalogue Produits')
  </code></pre>
  
  <p>I have this other class: </p>
  
  <pre><code>class ResPartner_school(models.Model):
  
      _name = 'ecole.partner.school'
      _order = 'id desc'
  
      half_pension_name = fields.Many2one(comodel_name="ecole.webservices",
                                      string="Lieu")
  </code></pre>
  
  <p>And I have a function who is in the class: ecole.partner.school</p>
  
  <pre><code>    @api.multi
      def create_compte_cantine(self):
  
          print "Inscription réussie"
  
          get_halfpension_name = self.half_pension_name.id
  
  
          if get_halfpension_name:
  
              code_Catalog = self.env['ecole.webservices'].code_Catalog
  </code></pre>
  
  <p>I get the id of <code>half_pension_name</code> in my variable <code>get_halfpension_name</code> but I wish to recover the <code>code_Catalog</code> of the same recording too. How to do?</p>