跳至內容
選單
此問題已被標幟
1 回覆
4814 瀏覽次數

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
7月 22
3770
1
5月 21
4824
1
10月 19
5084
4
9月 18
5002
4
3月 15
10425