2021-04-22 17:40:58 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<odoo>
|
2021-12-09 12:39:48 +01:00
|
|
|
<record id="res_partner_view_form_inherit_mail" model="ir.ui.view">
|
|
|
|
<field name="name">res.partner.view.form.inherit.mail</field>
|
2021-04-22 17:40:58 +02:00
|
|
|
<field name="model">res.partner</field>
|
|
|
|
<field name="inherit_id" ref="base.view_partner_form" />
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="email" position="before">
|
2021-12-09 12:39:48 +01:00
|
|
|
<button
|
|
|
|
name="mail_blacklist_add"
|
|
|
|
class="fa fa-plus text-success"
|
|
|
|
title="Click to add this email to the blacklist."
|
|
|
|
type="object"
|
|
|
|
groups="base.group_user"
|
|
|
|
attrs="{'invisible': [('is_blacklisted', '=', True)]}"
|
|
|
|
/>
|
2021-04-22 17:40:58 +02:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</odoo>
|