You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
969 B

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- inherit res_config_settings_view_form to add the email validation settings -->
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.contacts.email.validator</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="0"/>
<field name="inherit_id" ref="mail.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//setting[@id='message_translation_setting']" position="after">
<setting string="Email Validation"
help="Enable this option to validate email addresses before saving them in contacts."
id="email_validation_setting">
<field name="email_validation_enabled"/>
</setting>
</xpath>
</field>
</record>
</odoo>