2022 m. spalio 21 d., penktadienis

Hiding view elements from specific view

 Add context in view:

       <field name="context">{ 'hide_field': 1}

        </field>

Update attribute:

       <xpath expr="//tree//field[@name='location_dest_id']" position="attributes">

                <attribute name="invisible">context.get('hide_field')</attribute>

            </xpath>