Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
961 มุมมอง

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 ?


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Please make the field in python as : 


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


Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
เม.ย. 24
2852
1
ธ.ค. 23
2460
4
พ.ค. 25
2464
2
พ.ค. 25
5806
0
มี.ค. 25
1319