Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
8854 Visualizzazioni

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?

Avatar
Abbandona

Hello,

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

Autore Risposta migliore

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

Thanks for your reply.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 25
3097
0
mag 23
2728
3
mar 25
25206
1
nov 22
2753
1
mag 22
6173