This is a patch to a recent checkout of Trunk from SVN.
The reports had some entries doubled: once with an account number and
once with an account heading number. This was due to the join on the
chart view, in which id is not unique. In this view ids can appear
twice: once of a header and once for an account.
With this change the join on the chart view requires chart.charttype =
'A' (for account). This was done throughout LedgerSMB/AA.pm except for a
few queries (or query segments) where there were WHERE clauses which
clearly excluded the possibility of account headers being included.
Log in to post a comment.