Message 73094

Author
pokoli
Date
2022-01-04.18:05:13
Message id
73094

Content

I do not understand why it can not be done in the Deferral.get_balance.

Because we do not create a deferral record for accounts that do not have any type. So the search of the deferral records fails for parent accounts.

Indeed the same code could be written in this function if it is changed
into a classmethod.

This requires to have a deferral record for all accounts which is not the case.

History
Date User Action Args
2022-01-04 18:05:14pokolisetmessageid: <1641315914.0089598.QVNEO5EVTQ2NYPST.issue11057@tryton.org>
2022-01-04 18:05:14pokolisetrecipients: + ced, reviewbot, acaubet
2022-01-04 18:05:13pokolilinkissue11057 messages
2022-01-04 18:05:13pokolicreate

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