mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
- Add a hook method to retrieve communication type and communication - Improve normal communication if there is a credit note If there is a credit note that partially cancel an invoice, the payment communication should be the combination of the invoice reference and the credit note one. - Remove not needed assert as parameter is required - Use the 'payment_reference' field if filled in - Add existing payment references to communication If some movements have been reconciled with the original invoice, their references should be added in communication too. e.g.: Manual credit notes - Don't duplicate communication reference