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.
 
 
 
 
 

34 lines
1.6 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--This XML file extends the 'res.config.settings' view form by adding
customization options for the mail configuration settings. It introduces
a new field 'custom_mail_logo' and provides settings to customize the
mail logo, including 'Mail Icon' and 'Mail Icon ID'.-->
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.mail.icon
</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//setting[@id='email_servers_setting']" position="after">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="custom_mail_logo"
string="Custom Mail Logo"/>
</div>
<div class="o_setting_right_pane">
<label for="custom_mail_logo"/>
<div class="text-muted">
Customize Mail logo
</div>
</div>
<div class="o_setting_right_pane">
<field name="icon" widget="image" string="Mail Icon"
invisible = "not custom_mail_logo"/>
<field name="mail_icon_id" invisible ="1"/>
</div>
</div>
</xpath>
</field>
</record>
</odoo>