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

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?

Awatar
Odrzuć

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

Najlepsza odpowiedź

Hi,

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

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

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

Awatar
Odrzuć

Odoo for engineers:)

Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 15
4786
5
gru 24
33381
0
gru 21
2042
1
gru 17
2666
0
maj 17
3168