https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21641
Tomás Cohen Arazi <tomasco...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomasco...@gmail.com --- Comment #10 from Tomás Cohen Arazi <tomasco...@gmail.com> --- (In reply to M. Tompsett from comment #7) > Also, I've been pondering... shouldn't this getnextacctno be in > Koha::Account::Line(s)? It is just using the AccountLines table no > relationships. I think it is a perfect candidate for moving. > > AND... when is getnextacctno called? Almost always in the midst of > generating a new account line. Why not remove the necessity for accountno > being passed in a ->new() and determine the account line number id at save > time? This means some code clean up, but I think it is better in the long > run than this short term patch. The accountno field and the associated functions should be removed. I don't think we should move that anywhere. :-D -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/