Pay button missing on supplier invoice

**Title:** [8.0] Pay button missing on supplier invoice (account_payment may be interfering)

**Version:** trytond 8.0.2

**Python:** 3.14.4

**PostgreSQL:** 18.3

**Steps to reproduce:**

1. Create cash journal and payment method assigned to that journal

2. Create and post supplier invoice

3. Open invoice in GTK/Web SAO client

**Expected result:** “Pay” button visible on invoice

**Actual result:** “Pay” button NOT visible. Only “Payment” button from account_payment module appears

**Verified configuration:**

- Cash journals: Efectivo, Transferencias

- Payment methods with journal assigned: Efectivo, Transferencia

- Workers active: Yes

- User permissions: Admin

**Key context:**

- Same process works perfectly via Proteus script using `Wizard(‘account.invoice.pay’, models=[factura])`

- When running the script, invoice changes to `paid` and chart of accounts updates correctly

- This confirms the problem is only in the client UI, not in the business logic

**Possible cause:**

- The account_payment module (installed) may be hiding the “Pay” button a

nd showing “Payment” instead

Be sure to not use the same accounts for the invoice payment method than the account of the invoice otherwise it is not considered as a usable payment method for the invoice and the button will not be visible.

¡Muchas gracias, Cédric! Llevaba días intentando resolver esto y la solución funcionó perfectamente. Realmente aprecio tu tiempo y tu respuesta tan rápida. ¡Saludos!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.