Adds a balance column to the "Open Subaccounts" register with the running
balance.
This patch adds a Balance column (similar to the single account register) which
provides a total running balance of the parent account and all subaccounts.
Patch by Tim M, modified by cstim to take r18320 / Bug#585784 into account:
We need to should use gnc_account_print_info() instead of the removed
gnc_split_register_print_info().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18325 57a11ea4-9604-0410-9ed3-97b8803252fd
Register transaction Action pulldown lists are currently oriented to stock
transactions. Expense Action options, for example, are Buy and Sell. The
enclosed patch adds a small number of items for those using Gnucash for
personal checking accounts. Also, ATM is split into ATM Deposit and ATM Draw
(withdrawal).
This patch adds actions to the register transaction Action pulldown lists
Patch by James Raehl.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18322 57a11ea4-9604-0410-9ed3-97b8803252fd
When I try to import a downloaded OFX from Fidelity NetBenefits, my mutual fund
purchases become sales. I looked at the code and it seemed like a pretty simple
fix, it seems as if it was treading all non-income investing transactions as sales.
I wrote and tested this patch to fix the problem.
Patch by Matt Lavin, signed-off by Benoit Grégoire.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18321 57a11ea4-9604-0410-9ed3-97b8803252fd
The original patch attempted to fix bug #529494 by replacing the
gnc_split_value_print_info function with gnc_split_register_print_info, which
instead of using the print info of the transaction's commodity, used the print
info of the commodity of the register's account. However, this was not the
correct behavior in all cases either. This patch eliminates the
gnc_split_register_print_info and instead puts the logic for selecting the
appropriate print info into the functions which previously called it.
* In gnc_split_register_get_balance_entry, the print info of the account of
the split is used (xaccSplitGetAccount); if the split doesn't have an account,
the print info of the register's default account
(gnc_split_register_get_default_account) is used
* In gnc_split_register_get_debcred_entry, if there is no split, the account
info of the register's default account (gnc_split_register_get_default_account)
is used. Otherwise, if the register is a Stock/Mutual Fund register or an
(obsolete) Currency register, the print info of the transaction's currency is
used (xaccTransGetCurrency). Finally in all other cases, the print info of the
register's default account (gnc_split_register_get_default_account) is used.
* In gnc_template_register_get_debcred_entry, there is no account to reference,
so the default print info (gnc_default_print_info) is used.
Patch by Daniel Harding.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18320 57a11ea4-9604-0410-9ed3-97b8803252fd
This also strips trailing whitespaces from lines where they existed.
This re-indentation was done using astyle-1.23 using the following options:
astyle --indent=spaces=4 --brackets=break --pad-oper
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18319 57a11ea4-9604-0410-9ed3-97b8803252fd
The patch exists in libdbi source, but not in 0.8.3. The problem is that "errno" is used
as a routine parameter name. The parameters are accessed incorrectly leading to a segmentation
violation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18312 57a11ea4-9604-0410-9ed3-97b8803252fd
in engine. The old routine in app-utils just called the one in engine. There isn't even the
excuse that the one in app-utils was just there for SCM, because there were SCM calls to
xaccAccountGetFullName.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18309 57a11ea4-9604-0410-9ed3-97b8803252fd
has not been loaded yet, print a warning message into the trace file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18308 57a11ea4-9604-0410-9ed3-97b8803252fd
hasn't been loaded yet, load it.
If an object has a reference to an account, commodity, budget or lot that hasn't been loaded
yet, print a warning message in the trace file. The difference in handling is that these
object types are always loaded at init time, whereas transactions are not.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18307 57a11ea4-9604-0410-9ed3-97b8803252fd
Replace call to gncEntrySetInvoice() with gncInvoiceAddEntry() which is the real function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18302 57a11ea4-9604-0410-9ed3-97b8803252fd
Allow scheduled transaction to have NULL start date. Will require db to be deleted
and recreated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18300 57a11ea4-9604-0410-9ed3-97b8803252fd
In order to test the mysql backend, the --with-test-mysql-url=URL option must be supplied to
configure where URL is the full url (mysql://host[:port]:db:user:password) to access a mysql db.
The same is true for postgres, with the --with-test-pgsql-url=URL option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18293 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
Store invalid dates as NULL in the database, and when loading a NULL, that date doesn't need
to be set.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18273 57a11ea4-9604-0410-9ed3-97b8803252fd
the port number can be specified after the host, separated by a colon. The URI spec is:
mysql://hostname[:port]:dbname:username:password
where [:port] indicates that it is optional.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18271 57a11ea4-9604-0410-9ed3-97b8803252fd