Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5190 มุมมอง

i can hide the duplicate button/action in a form using this code:

                <xpath expr="//form" position="attributes">
                    <attribute name="duplicate">0</attribute>
                    <attribute name="delete">0</attribute>
                </xpath>

               

But how can i do same in tree-view?

i tried this but without success:

                <xpath expr="//tree" position="attributes">
                    <attribute name="duplicate">0</attribute>
                    <attribute name="delete">0</attribute>
                    <attribute name="export">0</attribute>
                </xpath



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

To hide the "Duplicate" action in a tree view in Odoo, you can use the duplicate attribute inside the tag of the view definition.



false




อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

How to Hide Duplicate Action 

https://www.youtube.com/watch?v=IoiailfpSFg


อวตาร
ละทิ้ง