Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
1997 Vizualizări

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?


Imagine profil
Abandonează
Cel mai bun răspuns

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


Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
apr. 24
1487
4
ian. 25
1393
2
oct. 24
2165
4
mai 25
2700
2
mai 25
6133