social/mail_show_follower/views/res_config_settings.xml
Eduardo De Miguel 59966f0f5d [ADD] Customize notification appearance
Added settings to customize notification and translations to important parts of the message.

[FIX] Security fixes and simplified customization

Field `show_followers_partner_format` formatted with %(param)s
Removed CSS customizations

[FIX] README options

[FIX] Index.html configure

[FIX] Several changes

- Removed unnecesary properties on res_config_settings
- Markup safe on partner_format
- Use email_domain_extract instead own one
2022-03-22 14:55:05 +01:00

82 lines
4.0 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field
name="name"
>res.config.settings.view.form.inherit.mail.show.follower</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="mail.res_config_settings_view_form" />
<field name="arch" type="xml">
<div id="emails" position="inside">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
</div>
<div class="o_setting_right_pane">
<div class="content-group">
<label
for="show_internal_users_cc"
string="Show Followers on mails"
/>
<div>
<div>
<label
for="show_internal_users_cc"
class="o_light_label"
string="Show Internal Users on CC"
/>
<field name="show_internal_users_cc" />
</div>
<div>
<label
for="show_followers_message_sent_to"
class="o_light_label"
style="vertical-align: top;"
/>
<field
name="show_followers_message_sent_to"
placeholder="This message has been sent to"
style="display:inline-block;"
/>
</div>
<div>
<label
for="show_followers_partner_format"
class="o_light_label"
style="vertical-align: top;"
/>
<field
name="show_followers_partner_format"
placeholder="%%(partner_name)s &lt;%%(partner_email)s&gt;"
style="display:inline-block;"
/>
</div>
<div>
<label
for="show_followers_message_response_warning"
class="o_light_label"
style="vertical-align: top;"
/>
<field
name="show_followers_message_response_warning"
placeholder="Notice: Replies to this email will be sent to all recipients."
style="display:inline-block;"
/>
</div>
</div>
<label
for="show_followers_message_preview"
class="text-muted"
/>
<field
name="show_followers_message_preview"
style="width:100%;"
widget="html"
/>
</div>
</div>
</div>
</div>
</field>
</record>
</odoo>