Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
5784 Переглядів

By default the display is set to "1,000" for a quantity.

I want to change it to "1" because I think it's more pretty.

How can i do it?

Аватар
Відмінити

Please Do not use TAGS which is having no Meaning and DO not create meaningless TAGs. Here what is ooo?

Please do not dig up a 2-years old topic to say this

Найкраща відповідь

Hi,

remove the decimal precision from rml (digits=get_digits(dp='UoS'))

if it not works just convert integer like [[  int(o.quantity) ]]

Аватар
Відмінити
Автор Найкраща відповідь

Thanks. But where can you find rml (digits=get_digits(dp='UoS')) ?

Or [[  int(o.quantity) ]] ?

Аватар
Відмінити

Odoo for engineers:)

Related Posts Відповіді Переглядів Дія
1
квіт. 15
4781
5
груд. 24
33375
0
груд. 21
2041
1
груд. 17
2659
0
трав. 17
3167