Commit Graph

11506 Commits

Author SHA1 Message Date
Charles Day
af87f37bfd Trial balance report: Skip unrealized gain calculation when price source is "average cost". This significantly improves performance with the default report options. Centralize and simplify unrealized gain code.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17342 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-16 17:23:06 +00:00
Charles Day
4ba416f35b Reports: Make "Average Cost" the default price source for several additional standard reports.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17341 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-16 15:55:50 +00:00
Charles Day
5931d415ff Reports: Make a mildly confusing error message more clear.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17340 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-16 15:39:17 +00:00
Charles Day
9b5b547659 Bug #463320: Fix trial balance report's unrealized gain calculation and inability to print unrealized gain credits. Use "Average Cost" as the default price source.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17339 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-16 15:29:19 +00:00
Andreas Köhler
d2bc2c6061 Run some iterations of the main loop in showbox_cb to give the window a chance to be showed.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17338 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 23:44:41 +00:00
Andreas Köhler
9b65e68fa2 The gwenhywfar callback function showbox_cb() must not return 0.
Return the id reserved for it instead.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17337 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 23:17:49 +00:00
Charles Day
75d9c9e1d6 QIF Import: Allow column resizing on account mappings pages. Reorganize a massive and messy function into reasonably-sized chunks.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17336 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 19:34:05 +00:00
Rolf Leggewie
7b66b7ad7b SKR04: accounts 4315 and 4400 were present twice. Renumber the entries related to 16%.
* update the numbers to reflect current situation after VAT increase
* partly fixes 542648


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17335 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 17:35:10 +00:00
Rolf Leggewie
bce0dd3f7f SKR04: remove and clean up the situation where a couple of DATEV codes had been entered twice
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17334 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 17:25:43 +00:00
Rolf Leggewie
7965c8a405 SKR04: remove erroneous space at the end of DATEV accounts 6458, 6660 and 6689
* this should be all accounts with that type of error now


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17333 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 15:22:49 +00:00
Rolf Leggewie
70c08d72f3 SKR04: remove erroneous space at the end of DATEV account number 1298
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17332 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 15:17:02 +00:00
Rolf Leggewie
b3837db674 SKR04: remove DATEV code 1400 from placeholder hierarchy account for "Abziehbare Vorsteuer"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17331 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 15:13:41 +00:00
Rolf Leggewie
d5e8116537 SK04: replace the term Mehrwertsteuer with Umsatzsteuer
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17330 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 14:54:23 +00:00
Christian Stimming
7111518802 Require SWIG 1.3.31 because of the inline keyword in C headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17329 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 07:39:21 +00:00
Charles Day
ecd67c3e87 QIF Import: Update documentation and organization of the duplicate checking pages. Switch to top/bottom comparisons rather than side by side. Add keyboard mnemonics. Document in terms of the more positive-sounding "match". Lays the groundwork for a future fix to bug 95635.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17328 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-14 23:54:17 +00:00
Charles Day
9bfcc63177 Bug #470656, bug #502646: Prevent the GNCDateEdit control from crashing GnuCash. If an invalid date is entered (i.e. a date not supported by time_t) then the date reverts to the last valid date entered or, as a last resort, the beginning of the current day.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17327 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-14 16:12:02 +00:00
Andreas Köhler
1a25b2bc39 Bug #129099: Add option to toggle between full account path and leaf name in registers.
* Introduce new property show_full_account_names to the schema
  general/register to toggle between full account path and leaf name
* Configuration in Preferences dialog  ("Register Defaults")
* Convenience functions gnc_get_account_name_for_register() and
  gnc_account_lookup_for_register() return the proper values depending on the
  configurations.
* Ledgers and registers use the new functions for displaying account names
  (applies also to business-ledger)
* account-quickfill uses gnc_get_account_name_for_register() and listens to
  gconf property

Patch from Christoph Ernst.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17324 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-13 21:28:45 +00:00
Rolf Leggewie
7cc810cfef SKR04: make sure that the Verbindlichkeiten hierarchy is sorted correctly among its siblings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17319 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-13 00:04:16 +00:00
Rolf Leggewie
0a91745a3b SKR04: flatten Verbindlichkeiten hierarchy and remove incorrect DATEV 3000 code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17318 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 23:59:12 +00:00
Rolf Leggewie
0eb3f25fd4 SKR04: add some more tax relations and accounts as documented in http://wiki.gnucash.org/wiki/De/SKR04
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17317 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 23:14:21 +00:00
Charles Day
43e2e82482 Reports: Add option to display a table of data beneath barcharts.
Patch by Joachim Herb.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17316 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 17:01:27 +00:00
Rolf Leggewie
6454d1d6bf txf-help-de_DE.scm: replace v.h. with v.H.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17313 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 12:28:50 +00:00
Rolf Leggewie
95d88b8336 SKR04: delete spaces after paragraph sign (s/\§\ /\§/g)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17312 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 12:09:00 +00:00
Rolf Leggewie
936e155c06 SKR04: add two accounts with 19% Ust
* partly closes 473536 and 542648


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17311 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 11:46:12 +00:00
Rolf Leggewie
d15547c3cc txf-de_DE.scm: add some more keys for German UStVa to go along with r17304
* courtesy Jannick Asmus
* partly closes 473536


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17310 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 11:26:16 +00:00
Rolf Leggewie
de6caccdb9 SKR04: removcal of even more sample accounts. fix spelling mistake.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17308 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 01:12:57 +00:00
Rolf Leggewie
bb6af1f736 SKR04: remove sample accounts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17306 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 01:00:59 +00:00
Rolf Leggewie
12ddb500b6 SKR04: fix spelling mistake
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17305 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 00:55:16 +00:00
Rolf Leggewie
794b066f60 txf-help-de_DE.scm: add some more keys for German Umsatzsteuervoranmeldung
* courtesy of Jannick Asmus
* partly closes 473536


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17304 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 00:24:49 +00:00
Rolf Leggewie
a2d5d7545e SKR04: "Abziehbare Vorsteuern Inland" is 1400 not 4130. corrects r17298.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17299 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 00:03:14 +00:00
Rolf Leggewie
24c1755be7 SKR04: some additions, courtesy of Jannick Asmus
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17298 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 00:00:51 +00:00
Charles Day
bbbae3bf28 Register report: Add option to display memos when run from Basic Ledger mode. Refine the Description option. Space-saving column arrangement.
Patch from Robert Stocks.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17297 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-11 23:19:26 +00:00
Andreas Köhler
064ca2196c .gitignore generated files in the python bindings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17296 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-11 21:40:02 +00:00
Charles Day
4bb28b3f9e Bug 542472: Make reports use accounting period as default for dates.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17295 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-11 21:09:50 +00:00
Charles Day
337627254d Bug 353880: Adjust the border of report options dialog pages to be HIG-compliant. This patch does not address the alignment of controls, however.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17294 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-11 20:11:12 +00:00
Charles Day
29496fe385 Reporting: Ignore exchange rates if the quantity to exchange is zero.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17293 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-11 16:06:48 +00:00
Andreas Köhler
853de549eb Bug #542237: Use GLIST_HELPER_INOUTs before including engine-common.i.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17292 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-11 00:34:56 +00:00
Christian Stimming
ca29510911 Add credit to Assibiboine Credit Union for python bindings.
Mark Jenkins wrote: I would also like to give credit to Assiniboine Credit Union
(http://www.assiniboine.mb.ca Winnipeg, Canada), which has funded a good
chunk of our work on this through a grant they gave us in 2007.
Additional python binding work since between June 17 and December 31,
2008 is being funded by a second grant they gave us this year.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17291 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 22:56:27 +00:00
Andreas Köhler
51858f7a85 Add new aqbanking import-export files to POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17290 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 21:31:23 +00:00
Andreas Köhler
a0cbd72978 Fix a -Wformat gcc warning in the test suite.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17289 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 21:30:26 +00:00
Andreas Köhler
fe11af9045 Merge branches/aqbanking3 (r17287) into trunk.
Port the HBCI import-export module to AqBanking3.  Depending on the aqbanking
version found, either the classic hbci/ module or the new, very similar, module
aqbanking3/ for AqBanking >= 3 is built and installed.  The influence on the
rest of the code is minimal.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17288 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 20:35:50 +00:00
Charles Day
2e7af494c3 Balance sheet report: Support calculation of unrealized gains/losses on liabilities.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17287 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 17:26:34 +00:00
Christian Stimming
4545e8054e Fix gnucash-env path in make check of python bindings; add PYTHONPATH.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17285 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 21:40:04 +00:00
Christian Stimming
bd145a3416 Updated python bindings (r17263) for the gnucash API as of 2008-06-06.
Copied from http://savannah.nongnu.org/projects/python-gnucash.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17284 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 21:11:02 +00:00
Charles Day
f780402883 Bug #460721, bug #521403, bug #538800: Add a reporting price source option of "Average Cost".
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17266 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 20:12:58 +00:00
Charles Day
e9a7577194 Reports: Adjust the "weighted average" price source computation to ignore splits with a zero "amount" since these are not buys or sells.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17265 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 19:47:19 +00:00
Christian Stimming
4fa2e87962 Python bindings for the gnucash API.
Submitted by Mark Jenkins on 2008-03-25 to gnucash-devel.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17263 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 19:18:26 +00:00
Christian Stimming
0c9ce6d1f2 Remove include <gnc-date.h> of r17249 that breaks the build on some systems.
Notably, with swig-1.3.31 this doesn't seem to work.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17262 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 19:18:14 +00:00
Derek Atkins
f0aaf504c8 Add Rolf to AUTHORS
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17261 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 16:13:04 +00:00
Andreas Köhler
3d5dfd3069 Bug #526883: Add a few missing conversions of strftime results to utf-8.
Strings returned by the c runtime must be converted to utf-8 to be
displayed properly in all cases.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17257 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-06 11:11:34 +00:00