<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>
        <record model="ir.ui.view" id="trigger_view_form">
            <field name="model">ir.trigger</field>
            <field name="inherit" ref="ir.trigger_view_form"/>
            <field name="name">trigger_form</field>
        </record>

        <record model="ir.ui.view" id="ir_email_view_form">
            <field name="model">ir.email</field>
            <field name="inherit" ref="ir.email_view_form"/>
            <field name="name">ir_email_form</field>
        </record>

        <record model="ir.action.act_window" id="act_ir_email_form_relate_notification">
            <field name="name">Emails</field>
            <field name="res_model">ir.email</field>
            <field name="domain"
                eval="[('notification_email', 'in', Eval('active_ids'))]"
                pyson="1"/>
        </record>
        <record model="ir.action.act_window.view" id="act_ir_email_form_relate_notification_view1">
            <field name="sequence" eval="10"/>
            <field name="view" ref="ir.email_view_list"/>
            <field name="act_window" ref="act_ir_email_form_relate_notification"/>
        </record>
        <record model="ir.action.act_window.view" id="act_ir_email_form_relate_notification_view2">
            <field name="sequence" eval="20"/>
            <field name="view" ref="ir.email_view_form"/>
            <field name="act_window" ref="act_ir_email_form_relate_notification"/>
        </record>
        <record model="ir.action.keyword" id="act_ir_email_form_relate_notification_keyword1">
            <field name="keyword">form_relate</field>
            <field name="model">notification.email,-1</field>
            <field name="action" ref="act_ir_email_form_relate_notification"/>
        </record>
    </data>
</tryton>
