Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
5143 Vizualizări

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



Imagine profil
Abandonează
Cel mai bun răspuns

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




Imagine profil
Abandonează
Cel mai bun răspuns

How to Hide Duplicate Action 

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


Imagine profil
Abandonează