İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2065 Görünümler

Hello everyone, I'm having difficulty hiding a field in Odoo 16, specifically the description field in the Sale Order view. I've created a view to inherit from the parent function, but I keep getting errors. I'm not sure if I need to create a Python file or if the view is enough. Here's my code.





Thank you in advance!

Avatar
Vazgeç
Üretici

It still gives me errors :(

En İyi Yanıt

Hi,

You can try as follows:




Thanks

Avatar
Vazgeç

<xpath expr="//field[@name='order_line']/tree/field[@name='description']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>

Üretici

I was able to solve it already, it was actually a simpler thing, my fault, I had forgotten to include 'sale' inside the manifest.

Thank you anyway :)

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Eyl 23
1563
1
Ağu 23
3749
0
May 24
1408
1
Ağu 23
4764
4
Haz 25
2028