Odoo Help


How to remove decimals from warehouse quantity?

on 4/16/13, 11:53 AM 7,527 views

Hi, Im trying to remove those two decimals in the quantity field under warehouse as our stocks and inventories are kept in integer numbers w/o fractions. Ie : 1, 2, 10, 100 not 1.5, 100.2 etc. What is the best way to do it. Thanks

Works like charm in in v10, thanks

on 8/9/17, 5:30 AM

Vasiliy Birukov

--Vasiliy Birukov--
| 7 6 8
Russian Federation
--Vasiliy Birukov--

Help develop and implement any project on base Odoo.

Vasiliy Birukov
On 4/17/13, 3:34 AM

Goto "Settings/Technical/Database Structure/Decimal Accuracy/" and find "Product Unit of Measure". Set it to 0.

hi, in v7, some times I sell 0.1, 0.2,... is there a ways to set it to display 0.xxx when it have decimals, but only YYY when it is not have decimals?

Fanha Giang
on 9/1/14, 10:52 AM
On 10/24/14, 10:30 AM

This does not seem to apply to Odoo 8, where changing the Product Unit of Measure to 0 will not impact quotations or ecommerce website front end.


Els Van Vossel (evv)

--Els Van Vossel (evv)--

| 6 3 7
--Els Van Vossel (evv)--

Author of some OpenERP / Odoo books

Els Van Vossel (evv)
On 6/17/14, 8:29 AM

Just a quick note: the settings for the product unit of measure will not only apply to warehouse, but also to sales and purchases.

On 4/17/13, 2:36 PM

Thanks very much for your help!

Sergio Lonzayes
On 6/17/14, 8:16 AM

Very usefull!! Also, if you want to view the unit of measure "0" when you are making a budget or sales of order, also select Product Unit of Sales and modify it by cero.....

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 4/16/13, 11:53 AM
Seen: 7527 times
Last updated: 8/9/17, 2:40 PM