<?xml version="1.0" encoding="utf-8" ?>
<odoo>

    <record id="view_server_action_form" model="ir.ui.view">
        <field name="model">ir.actions.server</field>
        <field name="inherit_id" ref="base.view_server_action_form" />
        <field name="arch" type="xml">
            <field name="type" position="after">
                <field
                    name="label_paperformat_id"
                    attrs="{'invisible': [('state', '!=', 'report_label')]}"
                />
                <field
                    name="label_template_view_id"
                    attrs="{'invisible': [('state', '!=', 'report_label')]}"
                />
            </field>
        </field>
    </record>

</odoo>
