flectra/addons/fetchmail/views/mail_mail_views.xml
2018-01-16 02:34:37 -08:00

24 lines
819 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="email_message_tree_view" model="ir.ui.view">
<field name="name">mail.mail.form.fetchmail</field>
<field name="model">mail.mail</field>
<field name="inherit_id" ref="mail.view_mail_form"/>
<field name="arch" type="xml">
<field name="references" position="after">
<field name="fetchmail_server_id"/>
</field>
</field>
</record>
<act_window
id="act_server_history"
name="Messages"
res_model="mail.mail"
src_model="fetchmail.server"
domain="[('email_from', '!=', False), ('fetchmail_server_id', '=', active_id)]"
context="{'search_default_server_id': active_id, 'default_fetchmail_server_id': active_id}"/>
</flectra>