<?xml version="1.0"?>
<data>
    <xpath
        expr="/form/notebook/page[@id=&quot;other&quot;]/field[@name=&quot;company&quot;]"
        position="after">
        <label name="channel"/>
        <field name="channel" widget="selection"/>
    </xpath>
    <xpath expr="//notebook" position="inside">
        <page name="exceptions">
            <field name="exceptions"/>
        </page>
    </xpath>
</data>

<?xml version="1.0"?>
<data>
    <xpath
        expr="/form/notebook/page[@id=&quot;other&quot;]/field[@name=&quot;company&quot;]"
        position="after">
        <label name="channel"/>
        <field name="channel" widget="selection"/>
    </xpath>
    <xpath expr="//notebook" position="inside">
        <page name="exceptions" states="{'invisible': Eval('channel_type') == 'manual'}">
            <field name="exceptions"/>
        </page>
    </xpath>
</data>

Hide Exceptions tab on sale for manual channels
Hide Exceptions tab on sale for manual channels
