Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1006 Vues

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
Ignorer
Meilleure réponse

Hi,

Please make the field in python as : 


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


Hope it helps

Avatar
Ignorer
Publications associées Réponses Vues Activité
4
avr. 24
2923
1
déc. 23
2503
4
mai 25
2536
2
mai 25
5915
0
mars 25
1366