Patch by Christoph Holtermann:
For the more complex financial objects i chose a different approach.
The printing functions are located in one module. Importing this module adds
these functions as methods to the classes defined in gnucash_core.py.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20145 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Jeff Kletsky:
At least for the online OFX sources I use in the US, downloaded
transactions are populated with memos of
"Account unknown Bank unknown"
Past being annoying, this can cause improper "matches" when comparing
transactions.
The root cause is found in src/import-export/aqbanking/gnc-ab-utils.c
in the function gnc_ab_memo_to_gnc where the code seems to check for
the existence of a remote account number from the aqbanking
transaction
if (ab_other_accountid && *ab_other_accountid)
and appears to intend to return the empty string if one is not present.
However, an earlier line in the code sets ab_other_accountid to
"unknown" so that the test always returns true.
This patch should return:
* "Account <account number> Bank <bank number>" if both are present
* "Account <account number>" if only the account is present
* "Bank <bank number>" if only the bank is present
* "" if neither is present
Additionally, ordering of trimming was changed to handle the
possibility that the leading and/or trailing character(s) were stripped
as invalid UTF-8, resulting in an untrimmed string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20144 57a11ea4-9604-0410-9ed3-97b8803252fd
that looks like this:
Date Completion
When a date is entered without year, it should be taken:
(*) In the current calendar year
( ) In a sliding 12-month window starting this many months before the
current month: [ 6 ]
Patch by Peter Selinger with minor modifications
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20132 57a11ea4-9604-0410-9ed3-97b8803252fd
used for all cases, remove hard-coded references to /usr/etc,
/usr/share, /usr/local/etc, and /usr/local/share while providing
for xaccResolveFilePath to actually search the data and sysconfdir
directories used in the build.
(gnc_build_data_path): New function, just a copy of
gnc_build_book_path. Needed for rewrite of xaccResolveFilePath.
(xaccResolveFilePath): Cleaned out the hard-coded paths and weird
file path contruction functions and rewrote the function to use
gnc_path_get_foo and gnc_build_data_path without all of the silly
indirection. Removed superfluous URI checks (which are correctly
perfomed by xaccResolveURL()).
(MakeHomeDir, xaccPathGenerator, xaccDataPathGenerator)
(xaccUserPathGenerator): Deleted; their functionality is replaced
as noted above.
(check_file_return_if_true): Renamed check_file_return_if_valid, a
more descriptive name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18699 57a11ea4-9604-0410-9ed3-97b8803252fd
1. Fix spelling errors in HACKING
- appearenet -> apparent (patch by Tom Van Braeckel)
- supressions -> suppressions
2. Keep the contributer list sorted alphabetically in AUTHORS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18602 57a11ea4-9604-0410-9ed3-97b8803252fd
python_GetNthChild_remove.patch
remove the redundant GetNthChild code, gnc_account_nth_child supported
python_more_GUID.patch
Improve support for GUID
python_better_commodity.patch
* Removed custom __init__ from GncCommodity, not only is it wrong but
the one
from GnuCashCoreClass is just fine.
* Supported the get_table method For Book
* Removed support for direct instantiation of GncCommodityTable. (via
gnc_commodity_table_new() ). Only methods and not the constructor
function are added to the class now. Python binding users can access a
GncCommodityTable instance via Book.get_table() and have no need to use
gnc_commodity_table_new(), which the apis advise is for internal use
only.
python_GncLot.patch
* included gnc-lot.h in gnucash_core.i again
* Made GncLot class use superclass __init__, it doesn't need its own.
python_more_documentation.patch
Documentation strings for many classes, which can be viewed in source
and with python's help() mechanism.
python_business_module_load.patch
load the business module, not the business module specific backend
python_example_scripts.py
example scripts improved, new one added. This new script originally
came from this post:
http://lists.gnucash.org/pipermail/gnucash-devel/2008-July/023618.html
python_authors_update.patch
added Legal Aid Manitoba to credit line for Mark Jenkins
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18291 57a11ea4-9604-0410-9ed3-97b8803252fd
* Moves budget-related reports to a "Budget" sub-menu.
* Implements a Budget Balance Sheet report. This is a projected future balance
sheet using budget data.
* Adds Budget Income Statement and Budget Profit & Loss reports. These are
projected future IS/PNL reports using budget data.
Patch by Forest Bond.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17829 57a11ea4-9604-0410-9ed3-97b8803252fd
Prints tax information sorted by Form/Schedule, tax code, account,
transaction and date instead of by account hierarchy. Allows any tax
code to be assigned to multiple accounts. No longer double counts
transactions when a parent account is not a placeholder and has
transactions posted to it. Converts non-USD accounts and transactions
to USD instead of adding across currencies. Provides an error dialog
instead of crashing gnucash when exporting a file without write
permission. Provides additional options to adjust the level of detail
shown on the report.
Patch by J. Alex Aycinena <alex.aycinena@gmail.com>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17602 57a11ea4-9604-0410-9ed3-97b8803252fd
* 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
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
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
This merges r16679 from 2.2 branch. The translation itself is
already outdated, but this commit is merged anyway so that
the addition of this new translation isn't forgotten in the
future when trunk becomes the next stable branch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16961 57a11ea4-9604-0410-9ed3-97b8803252fd
splits when computing capital gain's instead of just the opening lot.
Scrub lots when scrubbing everything else. Some MacOs X fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13872 57a11ea4-9604-0410-9ed3-97b8803252fd
whether to delete or move any contained transactions and sub-accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12157 57a11ea4-9604-0410-9ed3-97b8803252fd
translation by Tor Harald Thorland <linux@strigen.com>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11984 57a11ea4-9604-0410-9ed3-97b8803252fd