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

Hi Friends or helpers,

With nolable="1", the field string is still visible. 

I use Odoo17 and want to hide the field name. Is there anything I missed?


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

Hello wwy,

I hope you are doing well.

You can achieve this functionality using nolabel="1"

Here is an example:


Thanks & Regards,

Email:  odoo@aktivsoftware.com           

Skype: kalpeshmaheshwari


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

It works, you can see how we use it on the res.partner form:

https://github.com/odoo/odoo/blob/17.0/odoo/addons/base/views/res_partner_views.xml#L344

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

Hello,

To hide the field name in Odoo 17 when using nolabel="1", you can use as in the image,


This will hide the field name while still displaying the field value.

Hope it helps

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

Hi,

  1. In your XML view file, locate the field definition you want to hide.
  2. Add the attribute invisible="1" to the field definition.

XML


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أبريل 24
1294
4
يناير 25
1216
2
أكتوبر 24
1906
4
مايو 25
2165
2
مايو 25
5516