Commit Graph

11572 Commits

Author SHA1 Message Date
Charles Day
399a1eb989 Add a new function to the gnc_numeric library that converts denominators to exact powers of ten.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17421 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 15:33:23 +00:00
Charles Day
48aa22c1ba Bug #454827: Don't round derived commodity prices until the very last step.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17409 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 05:41:01 +00:00
Charles Day
ce8a8a52e5 Bug #341362: Stock splits: Prevent fractional prices by forcing conversion to decimal. (I used the same fraction setting as the price editor.)
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17407 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-25 00:24:45 +00:00
Andreas Köhler
524dc04434 Handle missing information when importing from aqbanking more gracefully.
The online_id used to match an aqbanking accountinfo to a gnucash account is the
concatenation of the bank code and account number found.  If the primer is NULL,
then fall back to "" instead of invalidating the whole id.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17405 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-24 23:46:14 +00:00
Christian Stimming
8f9c93c494 Remove superfluous tab in message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17404 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-24 08:30:52 +00:00
Rolf Leggewie
a97be6c29f SKR04: Rechnungsabgrenzungskonten are used only by "bilanzierende Unternehmen" - hide them by default
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17402 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-23 22:35:14 +00:00
Rolf Leggewie
c71fbc467f SKR04: hide by default a couple of accounts that don't apply to EÜR-companies
* There are probably quite a lot more and possibly a few were incorrectly marked to be hidden
  The user can mark them as visible easily so it is not a big deal


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17401 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-23 21:56:54 +00:00
Rolf Leggewie
f896ffffaf SKR04: update URL from linuxwiki.de to wiki.gnucash.org
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17400 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-23 12:37:31 +00:00
Andreas Köhler
eef36b6e67 Make sure that the input of gnc_utf8_strip_invalid() is non-NULL.
Also, fix a caller in the aqbanking importer.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17370 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-22 22:14:56 +00:00
Charles Day
2e07dd82d5 Reports: Fix two parameter names that apparently were missed during the switch to report GUID's. In both cases, the parameter needed is a template ID, not a template name.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17367 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-22 15:28:26 +00:00
Charles Day
3022fddbf1 Bug #542967: Go back to using the name of the report template in the title of report options dialog boxes.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17365 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-21 02:58:50 +00:00
Andreas Köhler
7fea0935b0 Bug #543049: Import all balances and txns in aqbanking contexts returned.
* All aqbanking imports use the same code
* An account number returned by the bank may differ from the one sent, so that
  the correct result is not found
* The bank may also send transaction data and delete that on its servers.  This
  may lead to severe data loss if we did not tried to import of what is returned
  as much as possible

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17347 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-20 02:09:16 +00:00
Andreas Köhler
8582d3290c Do not prepare the match page in the online banking wizard twice.
This would online_init() the api too often and lead to a crash.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17346 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-20 02:09:06 +00:00
Charles Day
35a35be305 QIF Import: Adjust the visual layout of commodity pages for better HIG compliance. Add tooltips and rework the documentation page. A number of phrases have been reworded, and I think this makes the commodity pages simpler, cleaner, and clearer, at least in English. Sorry, translators...
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17345 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-19 21:31:21 +00:00
Charles Day
d7c3fc3004 QIF Import: Prepend the default investment-related account names with the standard top-level accounts of "Income", "Expenses", and "Equity".
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17344 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-17 23:20:59 +00:00
Charles Day
580bdeeed1 QIF Import: Get better default column sizing on account mapping pages by using ellipses.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17343 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-17 18:21:29 +00:00
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