コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4815 ビュー

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