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

Traceback (most recent call last):
  File "F:\odoo_pycharm\server\odoo\http.py", line 640, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "F:\odoo_pycharm\server\odoo\http.py", line 316, in _handle_exception
    raise exception.with_traceback(None) from new_cause
KeyError: 'descript'

Imagine profil
Abandonează
Cel mai bun răspuns

It looks like you are trying to access a field in your custom module that no longer exists. In your code, try removing any references to the field named "descript" and see if that resolves the error. If not, try checking the model you linked the field to, to make sure it still contains the field "descript" and that it is spelled correctly. It is also possible that the new model you linked the field to is not properly installed or is not accessible to the current user. You may need to check the configuration and permissions for that model.

Imagine profil
Abandonează
Cel mai bun răspuns

Hi jo,

- It heppens when you add a new field in some reference and sequence of that py not maintained in __init__.py.
- Please try this end if you still face any issue please proice us more details

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
dec. 20
3500
2
dec. 20
8283
1
oct. 23
2923
2
mar. 16
8931
0
mar. 15
7842