Steps to Reproduce
- Go to invoice/accounting module -> customers menu -> invoices -> create an invoice by specifying customer and lines.
- Go to invoice/accounting module -> customers menu -> payments -> create a payment by specifying the same customer and amount.
- Return to invoice/accounting module -> customers menu -> invoices -> select already created invoice.
- Current behaviour : There is no new outstanding credits and in journal items there isn't the items associate to the payment created (Can't associate payment to invoice).
- Expected behaviour : New outstanding credit should be available in the form view of the invoice and in journal items should exist new items associate to the payment created.
Invoice before creating payment :
Create payment:
Invoice after creating payment:
Bank journal items: