跳至内容
菜单
此问题已终结
4 回复
1842 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
0
7月 25
629
0
5月 25
895
1
1月 25
1238
1
6月 25
728
2
6月 25
867