odoo - hide a field

Jeevachaithanyan Sivanandan - Dec 22 '23 - - Dev Community

if you want to hide a field by adding a property to it

                <!-- Hide the original reference field -->
                <xpath expr="//field[@name='ref']" position="attributes">
                    <attribute name="invisible">1</attribute>
                </xpath>
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .