Skip to content

Commit

Permalink
[FIX] tms_reporting: Sale order notes are shown if it is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio-teruel committed Jun 19, 2024
1 parent da221a5 commit 095b12a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions tms_reporting/views/report_transport_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -268,17 +268,19 @@
</tbody>
</table>
<!-- Remarks -->
<div id="remark" class="row">
<div
id="remark"
class="row"
t-if="not is_html_empty(o.sale_line_id.order_id.note)"
>
<div>
<t t-if="o.sale_line_id.order_id.note">
<div>Remarks:</div>
<div class="schedule">
<div><span
class="highlight-text"
t-field="o.sale_line_id.order_id.note"
/></div>
</div>
</t>
<div>Remarks:</div>
<div class="schedule">
<div><span
class="highlight-text"
t-field="o.sale_line_id.order_id.note"
/></div>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 095b12a

Please sign in to comment.