تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
1606 أدوات العرض

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


how to change  format without comma





الصورة الرمزية
إهمال
أفضل إجابة

Note: In Odoo 17 (and presumably future ones) this now appears to work by adding

    options="{'enable_formatting': 0}"

to the field.

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال