r21996 - gnucash/trunk/src - Rework interaction between payments and invoices.

Geert Janssens gjanssens at code.gnucash.org
Fri Feb 10 10:34:19 EST 2012


Author: gjanssens
Date: 2012-02-10 10:34:18 -0500 (Fri, 10 Feb 2012)
New Revision: 21996
Trac: http://svn.gnucash.org/trac/changeset/21996

Modified:
   gnucash/trunk/src/business/business-gnome/dialog-payment.c
   gnucash/trunk/src/engine/Transaction.h
   gnucash/trunk/src/engine/gncInvoice.c
   gnucash/trunk/src/engine/gncInvoice.h
   gnucash/trunk/src/engine/gncOwner.c
   gnucash/trunk/src/engine/gncOwner.h
Log:
Rework interaction between payments and invoices.
This commit deals with invoice posting and unposting only.
Before invoices and payments shared the same lot (meaning a payment was
added to an existing invoice lot or vice versa).
Now payments and lots have their own separate lots and payments are
linked to invoices via linking transactions. This opens the way to "pay"
invoices with credit notes.



More information about the gnucash-patches mailing list