I created a record table A and created a sub table B of A, and later created a sub table C for sub table B. When I created and saved the records of sub table C, I was informed that, Record does not exist or has been deleted, I checked and it was a cache error, but I couldn't find the problem. Can someone help me? thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
861
أدوات العرض
model:
class ModelA(models.model):
_name = 'model.a'
line_ids = fields.One2many('model.b', 'a_id', string="Detail")
class ModelB(models.model):
_name = 'model.b'
a_id = fields.many2one('model.a', string="Head")
line_ids = fields.One2many('model.c', 'b_id', string="Detail")
class ModelC(models.model):
_name = 'model.c'
b_id = fields.many2one('model.b', string="Head")
line_ids = fields.One2many('model.b', 'a_id', string="Detail")
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
Automatic Batch Transfer
تم الحل
|
|
1
أغسطس 25
|
471 | |
|
1
مايو 25
|
1291 | ||
|
0
نوفمبر 24
|
1401 | ||
|
2
أكتوبر 24
|
1484 | ||
|
0
أغسطس 24
|
1238 |