Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2061 Tampilan

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
Buang
Penulis

It still gives me errors :(

Jawaban Terbai

Hi,

You can try as follows:




Thanks

Avatar
Buang

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

Penulis

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

Post Terkait Replies Tampilan Aktivitas
0
Sep 23
1557
1
Agu 23
3744
0
Mei 24
1395
1
Agu 23
4759
4
Jun 25
2024