Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1229 Lượt xem

In Contract  module  , Contact ID  shows with  comma separator  ( ex :  1,216)


how to change  format without comma





Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

The ID field is that you provided is of type Integer. In the default Odoo work flow Integer field will show a comma separator. To remove you can add the field widget "widget="integer" " and can add "options="{'format': 0}" "


eg:

<field name = "id" widget="integer" options="{'format': 0}"/>


Hope it helps

Ảnh đại diện
Huỷ bỏ