콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
7844 화면

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 

아바타
취소