Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4800 Zobrazení

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šit
Nejlepší odpověď


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šit
Related Posts Odpovědi Zobrazení Aktivita
0
čvc 22
3756
1
kvě 21
4804
1
říj 19
5071
4
zář 18
4998
4
bře 15
10407