Skip to content

Commit

Permalink
[IMP] account_reconcile_oca: Hide trash on reconciled items
Browse files Browse the repository at this point in the history
  • Loading branch information
etobella committed Sep 5, 2023
1 parent 2e164c9 commit f28dcf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_reconcile_oca/static/src/xml/reconcile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</th>
<th class="text-end">Debit</th>
<th class="text-end">Credit</th>
<th />
<th t-if="! props.record.data.is_reconciled" />
</thead>
<tbody>
<t
Expand Down Expand Up @@ -130,7 +130,7 @@
class="btn fa fa-trash-o"
role="button"
t-on-click="(ev) => this.onTrashLine(ev, reconcile_line)"
t-if="reconcile_line.kind == 'other'"
t-if="reconcile_line.kind == 'other' &amp;&amp; ! props.record.data.is_reconciled"
/>
</td>
</tr>
Expand Down

0 comments on commit f28dcf7

Please sign in to comment.