Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3624 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Tác giả

I am on Odoo Enterprise.

Tác giả

Odoo Enterprise V15

Ditto on needing a response

Tác giả

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



Câu trả lời hay nhất

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

 

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 18
4814
0
thg 5 23
2016
1
thg 5 22
3088
0
thg 8 16
4477
1
thg 3 15
7450