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

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
Zrušiť
Best Answer

Hi,

Please make the field in python as : 


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


Hope it helps

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
4
apr 24
2972
1
dec 23
2518
4
máj 25
2576
2
máj 25
5955
0
mar 25
1379