تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4809 أدوات العرض

Hello,

for better usability of Odoo i need to show the zero in fields floats in one2many,

anybody knows how to do?

Thanks

الصورة الرمزية
إهمال
أفضل إجابة


if If you work with odoo v8, you should define in your file .py the field like this:

'credit_service': fields.float( 'Credit', help='Service Credit',readonly=True, digits=(16,3)),

-Download Decimal Precision Configuration Module and you will find in Settings/technical/Databse Structure/Decimal  Accurancy so define your object.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يوليو 22
3769
1
مايو 21
4822
1
أكتوبر 19
5080
4
سبتمبر 18
4998
4
مارس 15
10422