跳至內容
選單
此問題已被標幟
2 回覆
8229 瀏覽次數

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
2512
0
5月 23
2278
3
3月 25
23847
1
11月 22
2179
1
5月 22
5693