跳至内容
菜单
此问题已终结

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
4760
0
5月 23
1937
1
5月 22
3064
0
8月 16
4444
1
3月 15
7414