flectra/addons/mail/views/res_config_settings_views.xml

49 lines
2.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<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>
2018-01-16 11:34:37 +01:00
<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 and Enterprise versions. Online users already benefit from a ready-to-use email server (@mycompany.flectra.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"/>
2018-01-16 11:34:37 +01:00
<field name="alias_domain" placeholder="mycompany.flectra.com"/>
</div>
</div>
</div>
</div>
</div>
</div>
</field>
</record>
</data>
2018-01-16 11:34:37 +01:00
</flectra>