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

i am using odoo 17. i have a one field 'wage' and it is a salary like number 1254200. i want comma in this number using Indian standard number comma format for example 12,54,200.00 how can i using python ?


Avatar
Abbandona
Risposta migliore

Hi,

Please make the field in python as : 


                wage = fields.Monetary(string="Wage")


Hope it helps

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
apr 24
2848
1
dic 23
2457
4
mag 25
2461
2
mag 25
5801
0
mar 25
1318