Odoo Help

1

How to remove comma from Integer field in ODOO 9

By
sridhar
on 6/2/16, 6:05 AM 1,225 views

Hi,I have a integer field (0) but when i put value 10000 in it it will display it as 10,000 i want to display it without comma.I have selected number field because i need to select Max number from it and add 1 in Max number for new entry. Can any body help me how i can do it in ODOO 9.

0

The widget="char" works for me.

<field name="number" widget="char"/>

 

0
Pinakin Nayi (pna)
On 6/2/16, 6:14 AM

Its separator based on your language you can change/remove from Language.(To do : Setting > Translation > Your LANGUAGE and change/remove Thousand Separator)

Working but it affected all the float fields, I need this only a Integer field.

sridhar
on 6/2/16, 6:42 AM

For only integer, there is no any direct way. You need to change framework code (probably in format.js file)

Pinakin Nayi (pna)
on 6/2/16, 7:29 AM

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.

Register

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

1 follower(s)

Stats

Asked: 6/2/16, 6:05 AM
Seen: 1225 times
Last updated: 6/22/17, 7:12 AM