Skip to Content
Menu
This question has been flagged
1 Atsakyti
1236 Rodiniai

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 ?


Portretas
Atmesti
Best Answer

Hi,

Please make the field in python as : 


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


Hope it helps

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
4
bal. 24
3332
1
gruod. 23
2863
2
rugs. 25
1321
4
rugs. 25
6360
0
rugp. 25
629