commit
5238889679
|
|
@ -53,7 +53,7 @@
|
|||
</td>
|
||||
<td>
|
||||
<!-- <strong>-->
|
||||
<!-- <span t-esc="sum([s.total for s in o.loan_ids])"-->
|
||||
<!-- <span t-esc="sum([s.amount for s in o.loan_ids])"-->
|
||||
<!-- t-esc-options='{"widget": "monetary", "display_currency": o.company_id.currency_id}'/>-->
|
||||
<!-- </strong>-->
|
||||
</td>
|
||||
|
|
@ -65,13 +65,13 @@
|
|||
</td>
|
||||
<td>
|
||||
<strong>
|
||||
<span t-esc="sum([s.amount for s in o.line_ids.filtered(lambda line: line.appears_on_payslip)])"
|
||||
<span t-esc="round( sum([s.amount for s in o.line_ids.filtered(lambda line: line.appears_on_payslip)]) + sum([s.amount for s in o.loan_ids]), 2)"
|
||||
t-esc-options='{"widget": "monetary", "display_currency": o.company_id.currency_id}'/>
|
||||
</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>
|
||||
<span t-esc="sum([s.total for s in o.line_ids.filtered(lambda line: line.appears_on_payslip)])"
|
||||
<span t-esc="round(sum([s.total for s in o.line_ids.filtered(lambda line: line.appears_on_payslip)]) + sum([s.amount for s in o.loan_ids]), 2)"
|
||||
t-esc-options='{"widget": "monetary", "display_currency": o.company_id.currency_id}'/>
|
||||
</strong>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue