Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4 Replies
8269 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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

Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Apr 24
1621
2
Jan 24
1724
Error message Diselesaikan
2
Nov 23
2592
1
Mar 24
1926
4
Sep 23
16671