<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <record id="view_employee_form_activity" model="ir.ui.view">
        <field name="name">hr.employee.form.activity</field>
        <field name="model">hr.employee</field>
        <field name="inherit_id" ref="hr.view_employee_form"/>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='message_ids']" position="before">
                <field name="activity_ids" widget="mail_activity"/>
            </xpath>
        </field>
    </record>
</odoo>