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

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
3726
1
12月 23
3195
4
10月 25
2961
2
9月 25
1901
4
9月 25
7021