Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
4 Antworten
1969 Ansichten

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.

Avatar
Verwerfen
Beste Antwort

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.

Avatar
Verwerfen
Beste Antwort

Hi, 


You can change the decimal precision from the frontend.


- Settings > Tehinacal > Decimal Accuracy




Hope it helps

Avatar
Verwerfen
Autor Beste Antwort

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 

Avatar
Verwerfen

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

Beste Antwort

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.

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Juli 25
732
0
Mai 25
980
1
Jan. 25
1311
1
Juni 25
845
2
Juni 25
910