here is some issues I cannot understand ,What does it mean by comodel and there is any related concept between CoModel and Relational Fields.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
Hi Yahya,
I assume you asking about comodel attribute when you are defining a relational fields (one2many, many2many, or many2one) and you already know about relational database in advance.
You must already know that when we create a table and we want to create a relation between two tables we will use so called Foreign Key, when defining Foreign Key you need a target - this target is what we call as comodel in Odoo
Model = table (analogy it this way)
Comodel = model(table) that corresponding with the current model(table) that you are working
Hope this helps
Great ,Thanks !
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
2
أغسطس 25
|
2423 | ||
|
1
يوليو 25
|
917 | ||
|
1
أغسطس 25
|
1151 | ||
|
0
مايو 25
|
1347 | ||
|
2
أبريل 25
|
3569 |
"Comodel" is not a question.
We get almost 1,000 posts a month and not everyone will open a post to find out what your question is.
I have edited your post to make the title a question.
In the future, please consider using a Question that makes it clear what you ask without requiring people to open your post, as this will often increase the chances
people will respond and make everything clearer for others looking for the same answer.
See also https://www.odoo.com/forum/help-1/meta-why-do-some-questions-get-answers-and-others-do-not-25620