mail/views/mail_message_schedule_views.xml

53 lines
1.9 KiB
XML
Raw Normal View History

2024-05-03 12:40:35 +03:00
<?xml version="1.0"?>
<odoo><data>
<record id="mail_message_schedule_view_form" model="ir.ui.view">
<field name="name">mail.message.schedule.view.form</field>
<field name="model">mail.message.schedule</field>
<field name="arch" type="xml">
<form string="Scheduled Message" duplicate="0">
<header>
<button name="force_send" string="Force Send" type="object"/>
</header>
<sheet>
<group>
<field name="mail_message_id"/>
<field name="scheduled_datetime"/>
</group>
<group>
<field name="notification_parameters"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="mail_message_schedule_view_tree" model="ir.ui.view">
<field name="name">mail.message.schedule.view.tree</field>
<field name="model">mail.message.schedule</field>
<field name="arch" type="xml">
<tree string="Emails">
<field name="mail_message_id"/>
<field name="scheduled_datetime"/>
</tree>
</field>
</record>
<record id="mail_message_schedule_view_search" model="ir.ui.view">
<field name="name">mail.message.schedule.view.search</field>
<field name="model">mail.message.schedule</field>
<field name="arch" type="xml">
<search string="Scheduled Messages">
<field name="mail_message_id"/>
</search>
</field>
</record>
<record id="mail_message_schedule_action" model="ir.actions.act_window">
<field name="name">Scheduled Messages</field>
<field name="res_model">mail.message.schedule</field>
<field name="view_mode">tree,form</field>
<field name="context">{}</field>
</record>
</data></odoo>