Hi there,
I need to format output field, for example:
now it's display like this: 123,432,654.22
needed: 12343265422
or would be better: 1234-326-5422
How can i do it? I've read and trying do with class and widget. Maybe it's wrong way. I spent about 8 hours for this problem. Thank's for your answers.
number = fields.Float(string='Number', size=16, digits=(16, 0), required=True)
Float Field Tips:
1- http://learnopenerp.blogspot.com/2018/09/how-to-stop-auto-rounding-of-float-fields-in-odoo.html
2- http://learnopenerp.blogspot.com/2016/04/how-to-align-left-odoo-fields-float.html