Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Quantity without decimal in a quotation

Lionel J
on 6/23/14, 4:54 AM 1,191 views

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?

On 6/23/14, 5:34 AM


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

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

Lionel J
On 6/25/14, 10:34 AM

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

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

Odoo for engineers:)

AD LIBITOM, michel Guénard
on 10/15/14, 1:48 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 6/23/14, 4:54 AM
Seen: 1191 times
Last updated: 3/16/15, 8:10 AM