Payment Term not applied for Direct Debit invoices
Description
Invoices marked with payment rule "Direct Debit" allows to set up a Payment Term, but the validations in code are disabling the generation of the payment schedule and stopping the invoice to be completed.
Invoices marked with payment rule "Direct Debit" allows to set up a Payment Term, but the validations in code are disabling the generation of the payment schedule and stopping the invoice to be completed.