Hello,
I'm looking to add many2one field called "hr.institute" but I couln't find any specific place to add this, So can anyone help me, Thankx.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I'm looking to add many2one field called "hr.institute" but I couln't find any specific place to add this, So can anyone help me, Thankx.
Madura,
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')
Thanks.
Hello, Thank You for thew help. but I couldn't find the place where I need to add this call, So could You please help me to achieve this? Thank You.
You should add in your module!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
2
Nis 24
|
7094 | ||
|
2
Mar 24
|
1729 | ||
|
2
Ağu 23
|
2581 | ||
|
1
Tem 19
|
19786 | ||
|
1
Kas 16
|
8491 |