[IMP] mail: do not log note if note is empty
Because a note could be only False, not at least "<p></br></p>" TaskID: 2026295
This commit is contained in:
committed by
Yannick Tivisse
parent
3fc2a27808
commit
5ee89c0088
@@ -327,7 +327,7 @@
|
||||
<br t-if="not feedback_line_last"/>
|
||||
</t>
|
||||
</div>
|
||||
<t t-if="activity.note != '<p><br></p>'"><!-- <p></br></p> -->
|
||||
<t t-if="activity.note and activity.note != '<p><br></p>'"><!-- <p></br></p> -->
|
||||
<div class="o_mail_note_title"><strong>Original note:</strong></div>
|
||||
<div t-field="activity.note"/>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user