GnuCash
Contact   Instructions
Bug 498072 - GnuCash show taxes on invoice when individual taxes is not checked
Summary: GnuCash show taxes on invoice when individual taxes is not checked
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Business (show other bugs)
Version: 2.2.x
Hardware: Other Linux
: Normal minor
Target Milestone: ---
Assignee: core
QA Contact: core
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-18 22:40 EST by Oxmosys
Modified: 2018-11-18 09:40 EST (History)
6 users (show)

See Also:


Attachments

Description Oxmosys 2007-11-18 22:41:01 EST
Using Gnucash 2.2.1 on Linux Ubuntu Gutsy 7.10 or Windows XP SP2, when I create a printable invoice of a invoice that doesn't contain any taxes, Gnucash will always show taxes if I don't check the "Individual taxes" option in report options, and it will not show the taxes if I check the "Individual taxes" option.

Gnucash is expected to do exactly the opposite in that case.

Here's a screenshot.

http://launchpadlibrarian.net/10464157/Capture.png
Comment 1 Bert 2011-05-12 13:15:18 EDT
While I believe this is intended behaviour (the code explicitly mentions an if-branch with the comment below) I do believe this bug can be rephrased as: "the wording of the option "Individual taxes" can be confusing". The option may be changed to a droplist for example stating "Display individual taxes per account" and "Only display total tax"). 

Code taken from current SVN 2.4.99

[From invoice.scm both simple invoice & printable invoice show the same behavior)
(if display-all-taxes
		(hash-for-each
		 (lambda (acct value)
		   (let ((collector (gnc:make-commodity-collector))
			 (commodity (xaccAccountGetCommodity acct))
			 (name (xaccAccountGetName acct)))
		     (collector 'add commodity value)
		     (add-subtotal-row table used-columns collector
				       "grand-total" name)))
		 acct-hash)

		; nope, just show the total tax.
		(add-subtotal-row table used-columns tax-collector
				  "grand-total" (_ "Tax")))
Comment 2 Geert Janssens 2016-03-22 13:46:59 EDT
Hmm, this bug has been lingering needlessly. Sorry about that.

I'm not too fond of changing the option to a drop down list. Can we just try better wording instead ?

I would propose:
- Next to the check box: "Use detailed tax summary"
- As tooltip: "Display all tax categories separately (one per line) instead of one single tax line."

I'm open for improvements to this.
Comment 3 Geert Janssens 2018-11-18 09:40:19 EST
As there has been no more feedback on this bug I have carried this forward and set the option name and tooltip as I proposed. The new texts will be included in gnucash 3.4.

Note You need to log in before you can comment on or make changes to this bug.