Thursday, August 6, 2015

Working on #143.

Until now we identified bank accounts using two separate fields BIC and IBAN. After reading about IBAN, it seems that we need a single field for storing/selecting bank accounts.

Oh, and I see that django-iban has been deprecated. That was easy: Lino’s BICField and IBANField now use django-localflavor.

The best solution seems to remove the possibility of having a single bank account per partner. That is: we unite the modules iban and sepa, we don’t do any inject_field, and we replace iban and bic fields of Payable by a pointer to lino.modlib.sepa.models.Account

And then another fundamental change: not the invoices but every item is ProjectRelated. Because incoming invoices are often for multiple clients.

Commits today: