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

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 25
2512
0
พ.ค. 23
2279
3
มี.ค. 25
23849
I can't upload any file in Odoo 13 แก้ไขแล้ว
1
พ.ย. 22
2180
1
พ.ค. 22
5693