title: Many2many relation in Odoo 10 (python)
body: <p>I have to create a STudent Management module by <strong>Odoo 10.0</strong> in windows. So I'd like to know exactly how to establish a "many2many" relation in Odoo (not Openerp). I have searched a lot of solutions on the Internet, but I don't understand clearly them :
  <a href="https://i.stack.imgur.com/ayWme.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>For example, there are 2 classes (Student and Course) following with their attributes :</p>
  
  <pre><code> class Student(models.Model):
        _name = "management.student"
        IdStudent = fields.Integer() #primary key
        Name = fields.Char()
        Gender = fields.Char()
        Address = fields.Char()
  
   class Course(models.Model):
        _name = "management.course"
        IdCourse = fields.Integer() #primary key
        course = fields.Char()
        credit = fields.Integer()
        professor = fields.Char()
  </code></pre>
  
  <p>Thanks a lot for your help !</p>