Merge pull request #2926 from expsa/kchyounes_dev_odex25_project

Imp Project Status Report
This commit is contained in:
kchyounes19 2025-04-29 10:15:48 +01:00 committed by GitHub
commit 02b8085b67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -435,8 +435,14 @@
<td style="border: 1px solid black;">
<span t-esc="invoice.amount"/>
</td>
<!-- <td style="border: 1px solid black;">-->
<!-- <span t-esc="dict(invoice._fields['payment_state'].selection).get(invoice.payment_state or 'not_paid')"/>-->
<!-- &lt;!&ndash; <span t-field="invoice.payment_state"/>&ndash;&gt;-->
<!-- </td>-->
<td style="border: 1px solid black;">
<span t-field="invoice.payment_state"/>
<t t-set="label_dict"
t-value="dict(invoice._fields['payment_state']._description_selection(invoice.env))"/>
<span t-esc="label_dict.get(invoice.payment_state or 'not_paid')"/>
</td>
</tr>
</t>