[FIX] account_payment: Don't display pay now button if the status is paid

Correct "Status" position in the account_portal header

opw-2817794

X-original-commit: acf1003d46360bff23b605ccb77a44d099f1c1a8
Part-of: odoo/odoo#95262
This commit is contained in:
Achraf (abz)
2022-07-05 12:42:33 +02:00
parent 8359337a6c
commit 5d8fcdf492
2 changed files with 2 additions and 2 deletions
@@ -38,7 +38,7 @@
<th>Invoice #</th>
<th>Invoice Date</th>
<th class='d-none d-md-table-cell'>Due Date</th>
<th/>
<th class="text-center">Status<th/>
<th class="text-right">Amount Due</th>
</tr>
</thead>
@@ -1,7 +1,7 @@
<odoo>
<template id="portal_my_invoices_payment" name="Payment on My Invoices" inherit_id="account.portal_my_invoices">
<xpath expr="//t[@t-call='portal.portal_table']/thead/tr/th[last()]" position="before">
<th class="text-center">Status</th>
<th><th/>
</xpath>
<xpath expr="//t[@t-foreach='invoices']/tr/td[last()]" position="before">
<td class="text-center">