Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
8906 Widoki

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.


Awatar
Odrzuć
Najlepsza odpowiedź

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
  


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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



Awatar
Odrzuć