[IMP] sales: add discount on SOL in kanban

Before this commit, the discount was not displayed on SOL in mobile
view.

This commit adds the discount when it exists.

task-3111127

closes odoo/odoo#137416

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Valentin Vallaeys (vava)
2023-10-06 06:14:02 +00:00
parent 45b95c12db
commit 8e3ffe7800
+8
View File
@@ -635,6 +635,14 @@
<strong class="float-end text-end" t-out="line_price" />
</div>
</div>
<t t-if="record.discount?.raw_value">
<div class="row">
<div class="col-12 text-muted">
Discount:
<t t-out="record.discount.value"/>%
</div>
</div>
</t>
</div>
</div>
</t>