Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
2089 มุมมอง

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


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
เม.ย. 24
1540
4
ม.ค. 25
1441
2
ต.ค. 24
2260
0
ส.ค. 25
478
4
พ.ค. 25
2902