<?xml version="1.0"?>
<data><xpath expr="//field[@name='mail_template_id']" position="after">
                <field name="sms_template_id" invisible="alarm_type != 'sms'" required="alarm_type == 'sms'" context="{'default_model': 'calendar.event'}"/>
            </xpath>
            <xpath expr="//group[@name='right_details']" position="inside">
                <field name="sms_notify_responsible" invisible="alarm_type != 'sms'"/>
            </xpath>
        </data>