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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
3193
Widoki
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
gru 19
|
3639 | ||
|
2
lip 24
|
2459 | ||
|
1
cze 24
|
4983 | ||
|
1
paź 23
|
10664 | ||
|
1
paź 23
|
98 |