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

ERROR modoo odoo.modules.registry: Failed to load registry

......

File "D:\odooproject\odoo13\odoo\fields.py", line 2927, in update_db

    raise UserError(_("No inverse field %r found for %r") % (self.inverse_name, self.comodel_name))

odoo.exceptions.UserError: ("未找到None对应的字段'subjects'", '')


I add a new Class 'Subject' to my module.

And ,when I open it, I get this error.

What‘s the cause of the error?

How can I do it?

아바타
취소

Hello,

can you please share your code of new class"subject" , this error generally comes when there issue in relation field i.e one2many.

작성자 베스트 답변

Yes, It is One2many that caused this issue.I use Many2one instead,and it works.

Thanks for your reply.

아바타
취소
관련 게시물 답글 화면 활동
1
7월 25
2638
0
5월 23
2335
3
3월 25
24065
1
11월 22
2274
1
5월 22
5757