Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
9047 Vizualizări

Hi,

I was able to increase the number of unit price decimals by 2 to 3 numbers. While the total price is still 2 decimal.

Thank you to assiste me.


Imagine profil
Abandonează
Cel mai bun răspuns

Hello Odooers,

I think if you are dealing with Monetary fields, then you dont need any code change, only need to set proper

"Decimal Places" in currency settings.

Steps to change Subtotal fields (Monetary) decimal accuracy from 2 digit to 3 digits:

1. Activate Multi Currency from General Settings (Settings > General Settings > Accounting ('Invoicing' If Community)), Now activate Multi-Currencies from Currencies section.

2. Now go to Accounting ('Invoicing' If Community) > Configuration > Accounting > Currencies.

3. In currency form change value 0.010000 to 0.001000 in Rounding Factor field and save record.

I hope this will helpful.

--
Regards
Haresh Kansara
Odoo Application Engineer
  


Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Try this: https://www.odoo.com/forum/help-1/question/adding-additional-decimal-point-in-price-computation-15906

https://stackoverflow.com/questions/34608113/decimal-precision-in-odoo

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Hi Haresh,

Thank you for your reply. My problem seems a bit like what you sent me.But concerning my exercise case, the total price and subtotal is displayed with two decimal places only. While unit prices are conveniently displayed with 3 decimals



Imagine profil
Abandonează