fails. Most engine objects catch the qof commit but then just log the
problem to the trace log. Now, the engine objects will invoke this
callback. gnc-main-window registers a callback and opens a dialog box
to inform the user. This is necessary because with an sql backend,
commits happen whenever an object is created or modified, not just
synchronously when the user selects to save the file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17667 57a11ea4-9604-0410-9ed3-97b8803252fd
The contributor writes:
I need a report which shows me all invoices of a job. This is similar to the
owner-report, e.g. Customer Report. I took the file of owner-report.scm,
changed it so it does the desired and saved it as job-report.scm. I also had to
patch business-core.i to export the right symbols and business-urls.c to have
access to a link to the Job in the header. A patch is attached and I would be
very pleased if this could make it into gnucash. It could be possible to unify
owner-report and job-report, but I didn't put too much effort in it.
Patch by Stefan Wolf.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17664 57a11ea4-9604-0410-9ed3-97b8803252fd
Original patch included also the fix of r16884, which was applied earlier already.
Patch by David Osguthorpe.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17663 57a11ea4-9604-0410-9ed3-97b8803252fd
The contributor writes: This report display the budgeted vs actual budget
in a barchart.
Patch by "tbic".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17662 57a11ea4-9604-0410-9ed3-97b8803252fd
The contributor writes: I created the report to help create a "zero-based"
budget for a class I was taking. I could use the totals at the bottom to
make sure every dollar was allocated some ware. I know virtually nothing
about accounting, the reason I named the report "Budget Flow" is because
it was based off from the "Cash Flow" report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17661 57a11ea4-9604-0410-9ed3-97b8803252fd
New Israeli Shekel: The informal abbreviation may be "NIS", but its
iso-4217 code is clearly ILS and only this! Incorrectly changed due to
bug#152755 (Nov 2004), r10331, and changed back again by bug#492417
(Oct 2008).
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17660 57a11ea4-9604-0410-9ed3-97b8803252fd
When creating a scheduled transaction from a given transaction, the
first occurence from the transaction date onwards is found by
calculating the first occurence after the day before that date. OTOH,
that "yesterday" should not be used as start date of the dense calendar.
Patch by Andreas Köhler <andi5.py@gmx.net>.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17659 57a11ea4-9604-0410-9ed3-97b8803252fd
src/app-utils/date-utilities.scm has a few typos ("set:tm-month" instead of
"set:tm-mon" and a few misplaced parens). This is at least as old as 2.2.6 and
still exists on trunk.
Patch by Wolfgang Schnerring, but the first hunk had one parentheses too many; fixed by me.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17658 57a11ea4-9604-0410-9ed3-97b8803252fd
The help files suggest that the user assign the stock ticker symbol as the
account name. There isn't any strong guidance in the tutorial about what the
description should be, but I think a good default is the full name of the
security. This patch accomplishes my proposal, as long as one navigates
to the right Stock parent account before Clicking New Account.
Patch by David Reiser.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17657 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch replaces the function gnc_split_value_print_info, which returns the
print info for the currency of the split's transaction, with a new function,
gnc_split_register_print_info, which returns the print info for the split
register's default account. That way the amounts displayed in the register use
the fraction of the register's account, rather than the fraction of the
transaction's currency.
Patch by Daniel Harding.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17656 57a11ea4-9604-0410-9ed3-97b8803252fd
AM_CFLAGS is passed both to the compiler (.c -> .o) and to the linker, so it
should only have flags that are appropriate for both steps. AM_CPPFLAGS is
passed only to the compiler, so flags that are only appropriate for that step
(-I and -D flags, for example), should be in _CPPFLAGS instead of _CFLAGS.
Every gnucash-2.2.3 Makefile.am that passes -I flags gets it wrong, placing
them in _CFLAGS. It's not a functional bug (the linker ignores -I flags), but a
ton of superfluous flags makes the build output pretty verbose and hard to
debug when things do go wrong.
To make matters more confusing as a developer, the FOO_CFLAGS variable set by
PKG_CHECK_MODULES(FOO) is actually for _CPPFLAGS in the Makefile.am
('pkg-config --cflags' returns the -I flags).
A related -I bug (one that *is* functionally broken) is that sometimes a local
(build dir) -I flag is passed after a global (installed dependent library) one.
If my system happens to have a header installed from some unrelated thing,
compiler will find *that* one instead of the expected one in the source
directory. Should always pass all local -I before any global ones.
Patch by andi5 plus one manual addition in src/gnome-utils/Makefile.am
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17655 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by andi5: The logic to determine whether there is an exchange rate
dialog to be showed is complex and should not run when you user traverses
her register. This patch adds a bit more information for the user where
this logic previously silently returned without action.
Comment from i18n maintainer (cstim): The bug in question is severe enough to
justify new strings here. Just go ahead and add more explanatory messages
as needed.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17654 57a11ea4-9604-0410-9ed3-97b8803252fd
This is new patch including fix checking 'unsigned long is at least as big as
guint32' and 'guile long_long is at least as big as gint64'
Patch by Halton Huo.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17653 57a11ea4-9604-0410-9ed3-97b8803252fd
gcc gives a correct warning about a possibly uninitialised variable.
This stops compilation.
Patch by joslwah@gmail.com.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17651 57a11ea4-9604-0410-9ed3-97b8803252fd
Changes the 'Sensitive' Property to 'No' from 'Yes' in 'account.glade'
for the 'tax_related_button' widget so that the setting is displayed but
cannot be changed in the account edit dialog. Sets the Tooltip
property to "Use Edit->Tax Options to set the tax-related flag and assign
a tax code to this account." in 'account.glade'.
Patch by "J. Alex Aycinena" <alex.aycinena@gmail.com>
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17646 57a11ea4-9604-0410-9ed3-97b8803252fd
In the post screen for vendor bills, in trunk, the account combo box
initially has no entry and the user needs to pick one. This isn't a
bug, but is an extra step for the user, so the trunk patch does
defaulting. I tested the "memory" function to make sure the defaulting
doesn't smash the account the user picked for this vendor the last time
through, and it works (doesn't conflict).
Patch by aradzak <aradzak@oracleatbelfry.com>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17644 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that the up-to-date text about this should be in the wiki,
http://wiki.gnucash.org/wiki/Translation
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17633 57a11ea4-9604-0410-9ed3-97b8803252fd
This partially fixes bug #393383 and bug #426111, as it resolves the problem of being unable to enter new transactions after the message box appears. (The message box should still not appear in the first place, however.)
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17623 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch contributed by Martin Preuss, modified by CS.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17620 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch from Shawn Faucher with little modifications.
This still needs a lot of testing and improvements still.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17612 57a11ea4-9604-0410-9ed3-97b8803252fd
Save the page setup in a static variable in print-session.c and use it when
initializing a GtkPrintOperation. Add gnc_ui_page_setup() and offer access to
it from a File > Pa_ge Setup... menu entry.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17611 57a11ea4-9604-0410-9ed3-97b8803252fd
If Gtk+ includes GtkPrint support, i.e. HAVE_GTK_2_10 is defined, and GtkHTML
uses it, i.e. GTKHTML_USES_GTKPRINT, then we currently save and restore print
settings in two different locations, namely static variables in gnc-html.c and
dialog-print-check.c.
Instead, add the function gnc_print_operation_{save,restore}_print_settings() to
print-session.[ch] to have a unique global location for them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17610 57a11ea4-9604-0410-9ed3-97b8803252fd
One template is the default one (common accounts), the other ("ry") is for a
finnish non-profit organisation.
Tuomo Kohvakka <tuomo.kohvakka@iki.fi>
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17607 57a11ea4-9604-0410-9ed3-97b8803252fd
code. Unfortunately, at this time, the front end seems to ignore the error
(other than logging it).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17606 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