[IMP] project: improve user experience

This commit brings some user experience improvement:
- Add a line break between the content of the email and the
  'this customer survey has been sent...' indication in mail template
- Move the project_ids field out of the debug mode

task-2792027

closes odoo/odoo#92048

Related: odoo/upgrade#3579
Related: odoo/enterprise#27655
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
Hardik Prajapati
2022-06-21 16:51:54 +02:00
committed by Prakash Prajapati
parent af8b192327
commit c5fa2e7e29
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -84,7 +84,7 @@
<tr><td valign="top" style="font-size: 13px;">
We appreciate your feedback. It helps us to improve continuously.
<t t-if="object.project_id.rating_status == 'stage'">
<br/><span style="margin: 0px 0px 0px 0px; font-size: 12px; opacity: 0.5; color: #454748;">This customer survey has been sent because your task has been moved to the stage <b t-out="object.stage_id.name or ''">In progress</b></span>
<br/><br/><span style="margin: 0px 0px 0px 0px; font-size: 12px; opacity: 0.5; color: #454748;">This customer survey has been sent because your task has been moved to the stage <b t-out="object.stage_id.name or ''">In progress</b></span>
</t>
<t t-if="object.project_id.rating_status == 'periodic'">
<br/><span style="margin: 0px 0px 0px 0px; font-size: 12px; opacity: 0.5; color: #454748;">This customer survey is sent <b t-out="object.project_id.rating_status_period or ''">Weekly</b> as long as the task is in the <b t-out="object.stage_id.name or ''">In progress</b> stage.</span>
+1 -1
View File
@@ -243,7 +243,7 @@
</group>
<group>
<field name="fold"/>
<field name="project_ids" widget="many2many_tags" options="{'color_field': 'color'}" groups="base.group_no_one"/>
<field name="project_ids" widget="many2many_tags" options="{'color_field': 'color'}"/>
</group>
</group>
<group string="Stage Description and Tooltips">