Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4823 Visualizzazioni

Hello,

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

anybody knows how to do?

Thanks

Avatar
Abbandona
Risposta migliore


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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
lug 22
3772
1
mag 21
4828
1
ott 19
5090
4
set 18
5004
4
mar 15
10426