Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
8266 Vizualizări

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?

Imagine profil
Abandonează

Hello,

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

Autor Cel mai bun răspuns

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

Thanks for your reply.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 25
2521
0
mai 23
2291
3
mar. 25
23871
1
nov. 22
2199
1
mai 22
5699