Tryton - Issues

 

Message56719

Author risto3
Recipients ced
Date 2020-03-28.07:37:21
Content
> 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.
Files
File name Uploaded
statement.diff risto3, 2020-03-28.07:37:21
History
Date User Action Args
2020-03-28 07:37:22risto3setmessageid: <1585377442.15.0.98023636113.issue9145@tryton.org>
2020-03-28 07:37:22risto3setrecipients: + ced
2020-03-28 07:37:22risto3linkissue9145 messages
2020-03-28 07:37:21risto3create

Showing 10 items. Show all history (warning: this could be VERY long)