Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4821 Visninger

Hello,

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

anybody knows how to do?

Thanks

Avatar
Kassér
Bedste svar


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.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
jul. 22
3772
1
maj 21
4828
1
okt. 19
5088
4
sep. 18
5003
4
mar. 15
10426