mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-25 05:41:47 +00:00
24 lines
826 B
XML
24 lines
826 B
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<flectra>
|
||
|
|
||
|
<record id="view_partner_form_with_email_warning" model="ir.ui.view">
|
||
|
<field name="model">res.partner</field>
|
||
|
<field name="inherit_id" ref="base.view_partner_form" />
|
||
|
<field name="arch" type="xml">
|
||
|
<xpath expr="//div[@name='warning_company']" position="after">
|
||
|
<div
|
||
|
class="alert alert-warning"
|
||
|
role="alert"
|
||
|
name="warn_duplicate_email"
|
||
|
invisible="not same_email_partner_id"
|
||
|
>
|
||
|
Duplicate warning: partner <field
|
||
|
name="same_email_partner_id"
|
||
|
/> has the same <b>Email</b>.
|
||
|
</div>
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
</flectra>
|