Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
9069 Представления

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.


Аватар
Отменить
Лучший ответ

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
  


Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Автор Лучший ответ

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



Аватар
Отменить