Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
7866 มุมมอง

There are two different models: product.management and  process.management in module A and module B respectively.

In process.management, it has a Many2one field:

product_id = fields.Many2one('product.management', 'product')

In product.management, it has a One2many field:

process_ids = fields.One2many('process.management', 'product_id', 'process')

and then the error came out.

Any help would be appreciated!


อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I figure it out!

I forgot to add depends in __openerp__.py of module A.

'depends': ['base', 'B'],
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

free xxx videos 

อวตาร
ละทิ้ง