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:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
3238
أدوات العرض
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
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
ديسمبر 19
|
3709 | ||
|
2
يوليو 24
|
2599 | ||
|
1
يونيو 24
|
5066 | ||
|
1
أكتوبر 23
|
10741 | ||
|
1
أكتوبر 23
|
98 |