Skip to Content
Menu
This question has been flagged
1 Odpoveď
4812 Zobrazenia

Hello,

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

anybody knows how to do?

Thanks

Avatar
Zrušiť
Best Answer


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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
júl 22
3770
1
máj 21
4824
1
okt 19
5083
4
sep 18
5002
4
mar 15
10425