Odoo Help


Issue with the many2many relation

Vladimir Misael Torres Rivas
on 9/25/14, 11:33 AM 879 views

I'm learning odoo programming from the veterinarian clinic example.  

The python code goes as following.

class vetclinic_animal(osv.Model):
    _name = "vetclinic.animal"
    _columns = {
        'name': fields.char('Name', size=64),
        'birthdate': fields.date('Birth Date'),
        'classification_id': fields.many2one('vetclinic.classification','Classification'),


The problem looks like is with 'labels_ids', when I install this module on my Odoo the field for  'labels_ids'  ('Labels) does not show up in the form. However if I change that part of the code to:


It show up as expected in a many2one field. 

So, what's wrong with my code?


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/25/14, 11:33 AM
Seen: 879 times
Last updated: 3/16/15, 8:10 AM