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

Hi,

How to remove default 0 from an integer field ?

Regards,

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

Hello. The module programming looks logical but does not work https://apps.odoo.com/apps/modules/14.0/kw_remove_default_zero/

أفضل إجابة

Set widget="char" .

<field name="your_field" widget="char"/>

Note: Warning may be raised if user input is not an integer.

 

الصورة الرمزية
إهمال
الكاتب

Thanks that was super easy

This makes it so that you can't see the values in the form after saving, the fields show a blank value. (v13)

Hey Guys!

How exactly can we do this? Sorry, I'm a bit new to Odoo.

Jose is right! This has erratic behaviour in Odoo 14. Fields no longer display their value after reloading after saving.

This not work in odoo14. Value disappear after save.

values are not displayed in odoo 14