跳至內容
選單
此問題已被標幟
1 回覆
1005 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
4月 24
2923
1
12月 23
2503
4
5月 25
2536
2
5月 25
5915
0
3月 25
1366