flectra/addons/mail/views/res_config_settings_views.xml

49 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<data>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.mail</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<div id="emails" position='replace'>
<h2>Discuss</h2>
<div class="row mt16 o_settings_container" id="emails">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<label string="Activities"/>
<div class="text-muted">
Configure your activity types
</div>
<div class="content-group">
<div class="mt16">
<button name="%(mail.mail_activity_type_action)d" string="Activity Types" type="action" class="oe_link" icon="fa-arrow-right"/>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 o_setting_box" title="Using your own email server is required to send/receive emails in Community versions. Online users already benefit from a ready-to-use email server (@mycompany.flectrahq.com).">
<div class="o_setting_left_pane">
<field name="default_external_email_server"/>
</div>
<div class="o_setting_right_pane">
<label for="default_external_email_server"/>
<div class="text-muted" id="default_external_email_server">
Use your own email servers
</div>
<div class="content-group" attrs="{'invisible': [('default_external_email_server', '=', False)]}">
<div class="row mt16" id="mail_alias_domain">
<label for="alias_domain" class="col-md-3 o_light_label"/>
<field name="alias_domain" placeholder="mycompany.flectrahq.com"/>
</div>
</div>
</div>
</div>
</div>
</div>
</field>
</record>
</data>
</flectra>