Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
You should first design a model(class) with its _columns. Only then, The class/model will be used as a many2one.
In your case, you should make sure to have hr.institude defined first. Later on, your new class can have many2one in this fashion:
'institute_id': fields.many2one('hr.institute', 'Institute')
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/15/14, 4:12 AM|
|Seen: 1297 times|
|Last updated: 3/16/15, 8:10 AM|