Commit 82ad328f authored by Committed by Vincent A
[bred] Avoid crash when find_object is used on accounts matching by _number
Add a private _number field to non payment Accounts (loan, lifeinsurance) to be consistent with the Account objects of payment accounts. This avoid a crash when we try to use find_object to match a life insurance with its parent by comparing the _number value with all the accounts.
Showing with 3 additions and 1 deletion