hello guys, i want to make something like this in float field, if the value is "10.00" then it become "10" and if the value 10.2550 it will become "10.255" in one2many field tree views
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
3172
Vistas
Hi,
Just use the following link for your current problem.Use the following for formatting your field
https://stackoverflow.com/questions/13097099/how-to-make-python-print-1-as-opposed-to-1-0
Regards
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
dic 19
|
3628 | ||
|
2
jul 24
|
2447 | ||
|
1
jun 24
|
4961 | ||
|
1
oct 23
|
10629 | ||
|
1
oct 23
|
98 |