Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2070 Weergaven

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
Annuleer
Auteur

It still gives me errors :(

Beste antwoord

Hi,

You can try as follows:




Thanks

Avatar
Annuleer

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

Auteur

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 :)

Gerelateerde posts Antwoorden Weergaven Activiteit
0
sep. 23
1568
1
aug. 23
3756
0
mei 24
1419
1
aug. 23
4769
4
jun. 25
2032