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

Hi All,

I have an odoo 11 community version. I have same version on my Live server and Local. but issue is when I navigate to the product menu the error log said " ValueError: Field `cost_currency_id` does not exist" and can't open the product section. but I don't have any issue with live database. I'm using postgresql 9.6 and tried all new versions (10,11,12) to fix this. Anyone can help me to fix this.   



Avatar
Abbandona
Risposta migliore

Hi,

If both server and local is same, am not sure why the error is getting only in server. Anyway to fix this issue what you can do is that.

1. Either add the missing field to corresponding model

2. Remove the field from the corresponding view.

See this:  How to Fix Field Does Not Exist Error Odoo

Also if it is a customly added field make sure that the service is restarted after adding the field.

Thanks

Avatar
Abbandona
Autore

Hi Niyas,

I got your point. but the issue is I unable to found that field on my core on models and views. but when I check it on database using settings -> Database Structure -> fields It's appear with the search list. I'm really confused with that.

HI,

As a solution what you can do is that, remove the fields from the database from user interface, remove the fields from view too

Risposta migliore

Dear Niiyas & Rishan,
I faced the same issues.
I did like below:

  1. Upgraded 'currency rate' addon

  2. Upgraded 'base' addon

  3. Upgraded my related custom addons.

These sequence fixed my issue case.


Thank You.



Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 24
1699
2
gen 24
1767
2
nov 23
2676
1
mar 24
2005
4
set 23
16756