Skip to content
Extraits de code Groupes Projets
Valider 7dba4376 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[update] only show positive payments on invoice

parent 7b1ca441
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</thead> </thead>
<tbody class="invoice_tbody"> <tbody class="invoice_tbody">
<tr t-foreach="o.move_id.line_ids.sorted(key=lambda r: r.date_maturity)" t-as="l"> <tr t-foreach="o.move_id.line_ids.sorted(key=lambda r: r.date_maturity)" t-as="l">
<t t-if="l.debit != 0"> <t t-if="l.debit > 0">
<td class="table-designation"><span t-field="l.date_maturity"/></td> <td class="table-designation"><span t-field="l.date_maturity"/></td>
<td class="text-center text-middle quantite"> <td class="text-center text-middle quantite">
<span t-field="l.debit" t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/> <span t-field="l.debit" t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter