Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4794 Weergaven

Hello,

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

anybody knows how to do?

Thanks

Avatar
Annuleer
Beste antwoord


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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jul. 22
3752
1
mei 21
4802
1
okt. 19
5065
4
sep. 18
4995
4
mrt. 15
10398