GnuCash doesn't show taxes on invoice when individual taxes is checked

Bug #129988 reported by Saivann Carignan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GnuCash
Fix Released
Medium
gnucash (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

This is on Ubuntu Gutsy Tribe 2 with all updates.

On GnuCash when you want to print a invoice, you can choose what you want to appear on the bill and what you don't want to appear, if you check the individual taxes, Gnucash will not show the taxes on the invoice. And if you don't check the individual taxes, Gnucash will show the taxes on the bill. It should be the opposite!

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Gnucash ver. 2.0.5-1.1ubuntu1

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Gnucash ver. 2.2.1-1ubuntu4

Revision history for this message
In , Saivann Carignan (oxmosys-t) wrote :

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

Changed in gnucash:
assignee: nobody → saivann
importance: Undecided → Low
status: New → Confirmed
Changed in gnucash:
status: Confirmed → New
Changed in gnucash:
status: Unknown → New
Changed in gnucash:
assignee: saivann → nobody
Revision history for this message
pdragon (pdragon) wrote :

Confirmed this is still happening in GnuCash 2.2.8. I compiled & installed from source, so this is definitely an upstream bug.

Changed in gnucash:
status: New → Confirmed
Changed in gnucash:
importance: Unknown → Low
Revision history for this message
In , Bert-claesen (bert-claesen) wrote :

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")))

Revision history for this message
In , Geert Janssens (gjanssens) wrote :

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.

Changed in gnucash:
status: New → Incomplete
Changed in gnucash:
status: Incomplete → Expired
Revision history for this message
In , Geert Janssens (gjanssens) wrote :

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.

Changed in gnucash:
status: Expired → Fix Released
Changed in gnucash:
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.