gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Fri Mar 25 13:13:56 EDT 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/f5a7aeca (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6fd35694 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/656a3a9b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d5d58dac (commit)
	 via  https://github.com/Gnucash/gnucash/commit/531335a8 (commit)
	from  https://github.com/Gnucash/gnucash/commit/163c4dd4 (commit)



commit f5a7aeca791300d4e5942a28573ef0bd5d197dcd
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Mar 25 18:09:27 2016 +0100

    Bug 719904 - Decide payment type only based on the account type involved
    
    This commit improves payment type deduction by first checking
    whether an AR or AP account is found in the transaction.
    If not, fall back to previous heuristic of positive action
    means customer payment, negative action means vendor
    action. The logic can still go wrong (no means to declare
    an employee payment, and credit notes are interpreted as
    opposite sign payments). Needs a follow up to fix that.

commit 6fd35694e2b320acf6142f686d7b9bf74ae9fd22
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Mar 25 17:39:20 2016 +0100

    Factor out a convenience function to retrieve a (business) owner starting from a transaction

commit 656a3a9b5703452f05e5d697cd9268def382563b
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Mar 25 16:16:00 2016 +0100

    Provide option to print checks directly from the payment window

commit d5d58dacbaeb080002e24e10cb2a9392f947f719
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Mar 25 14:43:15 2016 +0100

    Check printing: extract address from invoice/bill for payment transactions
    
    If the transaction is marked as a (business feature) payment,
    extract the address of the bill/invoice associated with the
    payment, or the owner if there's no bill/invoice yet.

commit 531335a8f97ef2bd5e408cde6af7e399c75845ac
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Mar 25 12:10:10 2016 +0100

    Move some utility functions from gui code to engine
    
    And reduce some of the clutter in these functions and their callers.



Summary of changes:
 src/business/business-gnome/dialog-payment.c       | 138 ++++++++-------------
 src/business/business-gnome/gnc-plugin-business.c  |  18 ++-
 .../business-gnome/gtkbuilder/dialog-payment.glade |  20 ++-
 src/engine/Transaction.c                           |  23 ++++
 src/engine/Transaction.h                           |  15 +++
 src/engine/gncBusiness.c                           |   9 ++
 src/engine/gncBusiness.h                           |   6 +
 src/engine/gncInvoice.c                            |   2 +-
 src/engine/gncOwner.c                              |  37 +++++-
 src/engine/gncOwner.h                              |  13 +-
 src/gnome/dialog-print-check.c                     |  28 +++--
 11 files changed, 203 insertions(+), 106 deletions(-)



More information about the gnucash-patches mailing list