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!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
lis 24
|
732 | ||
|
0
wrz 24
|
808 | ||
|
0
maj 24
|
729 | ||
|
1
cze 24
|
1371 | ||
|
0
lut 24
|
14 |