Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
5806 Vistas

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?

Avatar
Descartar

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

Mejor respuesta

Hi,

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

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

Avatar
Descartar
Autor Mejor respuesta

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

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

Avatar
Descartar

Odoo for engineers:)

Publicaciones relacionadas Respuestas Vistas Actividad
1
abr 15
4790
5
dic 24
33390
0
dic 21
2053
1
dic 17
2682
0
may 17
3187