47 lines
2.0 KiB
XML
47 lines
2.0 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<odoo>
|
||
|
<data>
|
||
|
<record id="mail_resend_partner_view_form" model="ir.ui.view">
|
||
|
<field name="name">mail.resend.partner.view.form</field>
|
||
|
<field name="model">mail.resend.partner</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<form string="Partner">
|
||
|
<header>
|
||
|
<button name="action_resend" type="object" string="Resend" class="oe_highlight"
|
||
|
invisible="not failure_reason"/>
|
||
|
</header>
|
||
|
<sheet>
|
||
|
<div class="oe_button_box" name="button_box">
|
||
|
<button class="oe_stat_button" name="action_open_record" type="object" icon="fa-user">
|
||
|
<span>Open Record</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
<group col="2">
|
||
|
<group colspan="1">
|
||
|
<field name="notification_id" invisible="1"/>
|
||
|
<field name="partner_readonly" invisible="1"/>
|
||
|
<field name="name" readonly="1" required="1"/>
|
||
|
<field name="email" readonly="partner_readonly"/>
|
||
|
</group>
|
||
|
</group>
|
||
|
<notebook>
|
||
|
<page string="Failure Reason" name="page_failure_reason">
|
||
|
<field name="failure_reason"
|
||
|
class="text-wrap w-100 overflow-auto"
|
||
|
nolabel="1"/>
|
||
|
</page>
|
||
|
</notebook>
|
||
|
</sheet>
|
||
|
</form>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="mail_resend_partner_action" model="ir.actions.act_window">
|
||
|
<field name="name">Resend Email</field>
|
||
|
<field name="res_model">mail.resend.partner</field>
|
||
|
<field name="type">ir.actions.act_window</field>
|
||
|
<field name="view_mode">form</field>
|
||
|
<field name="target">current</field>
|
||
|
</record>
|
||
|
</data>
|
||
|
</odoo>
|