跳至內容
選單
此問題已被標幟

I wanted to buy products with 3 decimal prices (Purchase) and read about using the Multi Currency settings for this. (Config>Currencies>EUR & USD>Rounding Precision).


Long story short, this did not solve my issue. Turns out I needed to be in Debug mode and Settings>Technical>DatabaseStructure>Decimal Precision.


I cannot revert the Rounding Precision back to 2 because the currencies affected have already been used in accounting entries. I've already tried Super User to override this, but no luck. How do I force this through? I'm OK with trying because almost all entries' 3rd decimal are just a 0 anyway.

Is there a consistent way to override these kinds of errors anyway? There have been other instances I'd want to ignore errors and just push on.

Thanks in advance!

頭像
捨棄
作者

I am on Odoo Enterprise.

作者

Odoo Enterprise V15

Ditto on needing a response

作者

Hi Mike we ended up needing to roll back To a backed up version of the database....



最佳答案

I think I might have found a work-around. Initial tests seem promising.

Here an example with EUR. (I accidentally changed the decimals to 4)

First of all: Do not forget to backup your database first!

1. In the currency list, rename EUR to something else (e.g. I used EU1)

2. Create a new currency EUR with the same values but with only 2 decimals (0,01)

3. Restart server

 

頭像
捨棄

Hi, Kai? How is the thest? Is it working good for long term?

相關帖文 回覆 瀏覽次數 活動
2
2月 18
4790
0
5月 23
1997
1
5月 22
3079
0
8月 16
4464
1
3月 15
7436