콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
2400 화면

Even though field is correctly defined in the python model and even the field is reflecting in the database but getting this error only in the frontend 

How to troubleshoot this, Please help!

아바타
취소
베스트 답변

You should carefully check your code and all custom addons that you are loading. Make sure that the same model is not defined more than once with the same name.

If you find multiple definitions of the same model, rename them to avoid conflicts. Right now, the issue is likely caused by having two or more models with the same name. As a result, Odoo is unable to find the field — because the last loaded model might be missing it the field. 

아바타
취소
베스트 답변

My issue was that the previous Python process was not terminated correctly. Somehow, I had two processes listening on the same port (lsof -i :8069), and my frontend was served by the old one. I terminated the process (kill <process id>) and everything works now

아바타
취소
관련 게시물 답글 화면 활동
1
11월 24
1217
0
9월 24
1238
0
5월 24
1206
1
6월 24
1849
0
2월 24
14