> Indeed if there is no clearing set and no account filled, on_change_payment
> could use the account of the line if there is one.
I must admit not to well understand the existing code.
I would have thought that if clearing was set, it be mandatory.
But the implementation is only if there is no account already set, which seems odd.
Therefore, in the attached I always set the account used in the payment prior to the questionable clearing account code, as we frequently see improper accounts set by default entering the statement origin line form.
|2020-03-28 07:37:22||risto3||set||messageid: <firstname.lastname@example.org>|
|2020-03-28 07:37:22||risto3||link||issue9145 messages|