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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
3240
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
déc. 19
|
3712 | ||
|
2
juil. 24
|
2605 | ||
|
1
juin 24
|
5069 | ||
|
1
oct. 23
|
10749 | ||
|
1
oct. 23
|
98 |