Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
8912 Tampilan

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.


Avatar
Buang
Jawaban Terbai

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
  


Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis Jawaban Terbai

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



Avatar
Buang