Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] placeholder for partner_name in config page
Browse files Browse the repository at this point in the history
marcsoeropen2bizz committed Mar 18, 2024
1 parent 9c3953b commit 91da173
Showing 2 changed files with 44 additions and 43 deletions.
1 change: 0 additions & 1 deletion mail_show_follower/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
86 changes: 44 additions & 42 deletions mail_show_follower/views/res_config_settings.xml
Original file line number Diff line number Diff line change
@@ -5,53 +5,55 @@
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="mail.res_config_settings_view_form" />
<field name="arch" type="xml">
<block 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>
<field name="show_internal_users_cc"/>
<label for="show_internal_users_cc" class="o_light_label" string="Show Internal Users on 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"/>
</div>
<div>
<label for="show_followers_partner_format" class="o_light_label" style="vertical-align: top;"/><br></br>
<field name="show_followers_partner_format" placeholder="%(partner_name)s &lt;%(partner_email)s&gt;" style="display:inline-block;"/>
</div>
<div>
<td>
<label for="show_followers_message_background_color" class="o_light_label" style="vertical-align: top;"/>
</td>
<td>
<field name="show_followers_message_background_color" style="display:inline-block;" widget="color"/>
</td>
</div>
<div>
<td>
<label for="show_followers_message_font_color" class="o_light_label" style="vertical-align: top;"/><br></br>
</td>
<td>
<field name="show_followers_message_font_color" style="display:inline-block;" widget="color"/>
</td>
</div>
<xpath expr="//block[@id='emails']" position="inside">
<!-- <block 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>
<label for="show_followers_message_response_warning" class="o_light_label" style="vertical-align: top;"/><br></br>
<field name="show_followers_message_response_warning" placeholder="Notice: Replies to this email will be sent to all recipients."/>
<div>
<field name="show_internal_users_cc"/>
<label for="show_internal_users_cc" class="o_light_label" string="Show Internal Users on 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"/>
</div>
<div>
<label for="show_followers_partner_format" class="o_light_label" style="vertical-align: top;"/><br></br>
<field name="show_followers_partner_format" placeholder="%%(partner_name)s or %%(partner_email)s&gt;" style="display:inline-block;width: 262px;"/>
</div>
<div>
<td>
<label for="show_followers_message_background_color" class="o_light_label" style="vertical-align: top;"/>
</td>
<td>
<field name="show_followers_message_background_color" style="display:inline-block;" widget="color"/>
</td>
</div>
<div>
<td>
<label for="show_followers_message_font_color" class="o_light_label" style="vertical-align: top;"/><br></br>
</td>
<td>
<field name="show_followers_message_font_color" style="display:inline-block;" widget="color"/>
</td>
</div>
<div>
<label for="show_followers_message_response_warning" class="o_light_label" style="vertical-align: top;"/><br></br>
<field name="show_followers_message_response_warning" placeholder="Notice: Replies to this email will be sent to all recipients."/>
</div>
</div>
<label for="show_followers_message_preview" class="text-muted"/><br></br>
<field name="show_followers_message_preview" style="width:100%;" widget="html"/>
</div>
<label for="show_followers_message_preview" class="text-muted"/><br></br>
<field name="show_followers_message_preview" style="width:100%;" widget="html"/>
</div>
</div>
</div>
</block>
<!-- </block> -->
</xpath>
</field>
</record>
</odoo>

0 comments on commit 91da173

Please sign in to comment.