Note this change causes book not to be marked as saved;
this is moved to gnc-session and will be checked in shortly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8680 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome-utils/dialog-transfer.h: Add callback handler that is
notified of the newly created Transaction.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8673 57a11ea4-9604-0410-9ed3-97b8803252fd
containing a modified transaction is closed via the window manager
close button. #105742
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8665 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/*: Refactor many HBCI functions to
eventually enable queued processing of several HBCI jobs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8660 57a11ea4-9604-0410-9ed3-97b8803252fd
currencies, non-currency commodities, or allow all commodities. Fixes
#102023 and #115461.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8657 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-reports/business-reports.scm: load the fancy-invoice
* src/business/business-reports/fancy-invoice.scm: a fancy invoice
report, to show what else is possible. It's not really useful per
se, but it is another example for users. To be useful it requires
some custom editing. Thanks to Oliver Jones for submitting the
changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8651 57a11ea4-9604-0410-9ed3-97b8803252fd
reverse the balances of accounts instead of using the internal
functions to determine when to reverse. Fixes#115268.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8647 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/druid-hbci-initial.c: Tolerate some
banks' failure of the GetSystemId-job.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8642 57a11ea4-9604-0410-9ed3-97b8803252fd
so it PROPERLY copies the bill term. Oops!
* src/business/business-core/file/gnc-tax-table-xml-v2.c:
when rebuilding the refcount, make sure we fix the grandparent
problems first so we refcount the correct object.
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
when rebuilding the refcount, make sure we fix the grandparent
problems first so we refcount the correct object. Also cope
with the broken gncBillTermCopy() and hope that the existing
parent is correct.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8638 57a11ea4-9604-0410-9ed3-97b8803252fd
It does not need to be part of the enum (it's not even used anywhere)
* src/engine/QueryCore.h: gint32 prints as a "%d", not a "%ld".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8635 57a11ea4-9604-0410-9ed3-97b8803252fd
window title when an event is received. Fixes#113164.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8628 57a11ea4-9604-0410-9ed3-97b8803252fd
gnc:reverse-account-balance? to determine whether to reverse
the balance -- base it purely on the report type. Otherwise
certain reports doesn't work right when the "reverse account
balances" is set in certain ways. Fixes#107472.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8623 57a11ea4-9604-0410-9ed3-97b8803252fd
reversing transactions. New functions to clone Splits and
Transactions. New debug functions to dump Splits and Transactions to
stdout. New functions to un-void a transaction and to reverse all the
values in a transaction. Mark voided transactions as read-only.
Support requested in 92105.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8619 57a11ea4-9604-0410-9ed3-97b8803252fd
billterms option menu is used so it will change properly if
you change the invoice's owner. Fixes#115290.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8617 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-gnome/dialog-customer.c:
* src/business/business-gnome/dialog-employee.c:
* src/business/business-gnome/dialog-payment.c:
* src/business/business-gnome/dialog-vendor.c:
* src/business/dialog-tax-table/dialog-tax-table.c:
* src/gnome/dialog-scheduledxaction.c:
* src/gnome/gnc-split-reg.c:
* src/import-export/hbci/hbci-interaction.c:
Change dialog statements to allow for embedded percent signs in
the messages. In other words, don't allow user input into the
format string of a printf. There may be other forms of this bug
elsewhere -- the code should be manually scrubbed file by file
for all printf()'s to make sure no user-servicable strings are
used as a printf format argument. Fixes#115245.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8613 57a11ea4-9604-0410-9ed3-97b8803252fd
import window after choosing a file. I think this fixes#114209
but I couldn't reproduce the problem so I couldn't actually test
the fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8611 57a11ea4-9604-0410-9ed3-97b8803252fd
match-type, which can eventually be used to make an AccountGroup
comparrison (once we figure out how to label an account group with
a GUID)
* src/engine/QueryNew.c: print out GUID_MATCH_LIST_ANY query terms
* src/engine/gw-engine-spec.scm: wrap GUID_MATCH_LIST_ANY
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8608 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/backend/file/gnc-book-xml-v2.c: make the book-string non-static
Fixes#114401
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8604 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-core/gncBillTerm.c:
Mark the data book as dirty if a tax table or bill term is
destroyed. Fixes all of #114889 that I can reproduce.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8599 57a11ea4-9604-0410-9ed3-97b8803252fd
- keep a list of children so we can unref ourselves from our
children when we get destroyed
- deal with parentless children
* src/business/business-core/gncCustomer.c:
* src/business/business-core/gncInvoice.c:
* src/business/business-core/gncVendor.c:
deal with properly un-ref'ing Bill Terms and Tax Tables
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
create a scrub function to clear up bogus bill terms due to
bug #114888 which could cause bill terms to get created
due to post/unpost of invoices. Scrubs all invoices and
fixes the reference to bill terms, and updates the refcounts.
Fixes bug #114888 for bill terms.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8597 57a11ea4-9604-0410-9ed3-97b8803252fd
modules to allow post-processing (scrubbing) of the book after
it is loaded from XML. This allows a plug-in to post-process
the complete book.
* src/business/business-core/file/gnc-customer-xml-v2.c:
* src/business/business-core/file/gnc-employee-xml-v2.c:
* src/business/business-core/file/gnc-entry-xml-v2.c:
* src/business/business-core/file/gnc-invoice-xml-v2.c:
* src/business/business-core/file/gnc-job-xml-v2.c:
* src/business/business-core/file/gnc-order-xml-v2.c:
* src/business/business-core/file/gnc-vendor-xml-v2.c:
add a NULL scrub member to the XML plugin API.
* src/business/business-core/file/gnc-tax-table-xml-v2.c:
create a scrub function to clear up bogus tax tables due
to bug #114888 (and related bugs) which could cause
tax tables to get created ad-nausium if you post and then
unpost an invoice. Scrubs all the entries for bogus
tax tables, and then clears out the bogus tax tables.
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
Hook in an empty scrub routine, because I think the same
bug exists here, but I'll work on that later.
* src/business/business-core/gncEntry.c:
make sure we properly dereference tax tables when we destroy
an entry.
* src/business/business-core/gncTaxTable.c:
- keep a list of children so we can unref ourselves from our
children when we get destroyed
- deal with parentless children
Fixes bug #114888 -- don't generate phantom (parent) tax tables
and clean up any existing bogus tax tables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8595 57a11ea4-9604-0410-9ed3-97b8803252fd