コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2168 ビュー

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!

アバター
破棄
著作者

It still gives me errors :(

最善の回答

Hi,

You can try as follows:




Thanks

アバター
破棄

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

著作者

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

関連投稿 返信 ビュー 活動
0
9月 23
1614
1
8月 23
3870
0
5月 24
1457
1
8月 23
4866
3
8月 25
2538