gnucash maint: Multiple changes pushed
Geert Janssens
gjanssens at code.gnucash.org
Sat Mar 4 04:22:20 EST 2017
Updated via https://github.com/Gnucash/gnucash/commit/de360cab (commit)
via https://github.com/Gnucash/gnucash/commit/3445ef88 (commit)
via https://github.com/Gnucash/gnucash/commit/78c5203d (commit)
from https://github.com/Gnucash/gnucash/commit/ece85970 (commit)
commit de360cabb33395c2dd668b08b7b8c12dd6e33b80
Author: hcrohland <christoph at Hobbes.fritz.box>
Date: Thu Mar 2 20:53:40 2017 +0100
Revert the taxinvoice.scm changes
Since they touch strings and user behavior they cannot go into maint.
The pull request now only includes the backend change. By that you can
easily tweak the invoice reports to show the net price.
commit 3445ef8845315dbe06b4f9a9296fd0b7181bd4f9
Author: hcrohland <christoph at hobbes.fritz.box>
Date: Wed Mar 1 18:22:02 2017 +0100
Make the net price option better compatible with master
Create one gncEntryGetPrice function which can create given price or
net price for both invoices and bills based on option parameters.
The master version of taxinvoice.eguile.scm needs this for bills too.
commit 78c5203d8c683adfddf7212b7f3b676b644efc6b
Author: hcrohland <christoph at Hobbes.fritz.box>
Date: Fri Feb 3 08:44:08 2017 +0100
Enable taxinvoice to show net price
Add gncEntryGetNetPrice
Create an option in taxinvoice to either use gncEntryGetNetPrice or
gncEntryGetPrice
So far taxinvoice would show net or gross prices dependent on the internal flag tax_included.
This is inconsistent for the reader of the invoice since there is no notion of that flag.
This patch adds the option to always show net prices.
It does not change the default behaviour even if I would consider it broken.
Summary of changes:
src/engine/gncEntry.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++-----
src/engine/gncEntry.h | 1 +
2 files changed, 60 insertions(+), 6 deletions(-)
More information about the gnucash-patches
mailing list