Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
2108 Представления

Hi, 

How i can force odoo 18 to reduce decimal accuracy from 3 to 2.

It was changed from 2 to 3 but later the accountant request to return it to 2.

I need your support urgent please.

Аватар
Отменить
Лучший ответ

Go to Settings > General Settings, scroll down to the bottom of the page and Activate the developer mode. Then go to Settings > Technical > Database Structure > Decimal Accuracy and update the required setting.

Аватар
Отменить
Лучший ответ

Hi, 


You can change the decimal precision from the frontend.


- Settings > Tehinacal > Decimal Accuracy




Hope it helps

Аватар
Отменить
Автор Лучший ответ

Dear Paresh Wagh

I tried this way Settings > General Settings, scroll down to the bottom of the page and Activate the developer mode. Then go to Settings > Technical > Database Structure > Decimal Accuracy, but found that i cant Change from 3 to 2, only accepting if i want increase the decimal accuracy.

Can you provide another way if possible, thanks for your support 

Аватар
Отменить

Unfortunately, this is the only way to do it reliably.

Лучший ответ

Where Odoo Stores Decimal Precision

Odoo uses the model: decimal.precision (or in recent versions, decimal.accuracy or just via res.config.settings depending on the field).

For example:

  • Product Unit of Measure → Product Unit of Measure Precision
  • Accounting (Price, Amounts) → Account precision
  • Currency Rounding → Decimal Places on currency

🔧 Step-by-Step: Change Decimal Precision (back to 2 digits)

Option 1: Update Decimal Precision in UI

  1. Activate Developer Mode
    • Go to Settings → Activate the Developer Mode (⚙️ icon > "Activate Developer Mode")
  2. Go to Technical → Decimal Accuracy
    • Navigate to Settings > Technical > Database Structure > Decimal Accuracy
    • Look for entries like:
      • Product Unit of Measure
      • Account
      • Product Price
      • etc.
  3. Edit the relevant entries
    • Change from 3 to 2
    • Save

✅ That’s it! All relevant views and calculations will now show 2 digits instead of 3.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
июл. 25
790
0
мая 25
1029
1
янв. 25
1372
1
июн. 25
895
2
июн. 25
976