get the GUID and lookup by direct GUID (suitable for wrapping)
* src/business/business-core/gw-business-core-spec.scm: wrap
the taxtable get-guid and lookup methods
* src/business/business-gnome/business-utils.[ch]: re-implement
the "generic option menu" code to allow get_value(), set_value(),
and changed_callback() functions.
* src/business/business-gnome/business-options.c: create a taxtable
option type using the new generic optionmenu code
* src/business/business-gnome/business-options.scm: define a taxtable
option. Also fix all the other options when using a KVP storage
to actually load and save the options properly
* src/business/business-gnome/business-prefs.scm: create a default
customer and default vendor taxtable option for the "File Properties"
option menu.
Initial fix for #93462. Next commit will actually use the values.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7843 57a11ea4-9604-0410-9ed3-97b8803252fd
the old group, so we don't match against ourselves. This should
limit the matches to only "reasonable" matches, and should fix#102463
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7842 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/engine.scm: export gnc:commodity-is-currency?
* src/report/report-system/report-system.scm: remove ref to same.
* src/report/report-system/report-system.scm: remove function above
* src/import-export/qifiimport/qif-to-gnc.scm: fix the algorithm
to find/create new accounts. All "parent" accounts are of
commodity "default-currency" (but don't really care about that).
When creating a leaf account, use the security if it's a
stock/mmf account, but the default-currency otherwise.
Fixes#103633.
NOTE: Might need similar fixed in qif-io-core?
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7841 57a11ea4-9604-0410-9ed3-97b8803252fd
error where it assumed there would be at least two "visible
rows" per block, so search through the end rather than skipping
the last row. This fixes the page-up/page-down problem with
invoices. Also add more places where the visible range is computed.
* src/business/business-ledger/gncEntryLedgerLoad.c: add code to
"show_range()" which should fix the page-up/page-down problem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7838 57a11ea4-9604-0410-9ed3-97b8803252fd
with multiple versions of the autotools suite. Make generated g-wrap
sources depend on config.status.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7837 57a11ea4-9604-0410-9ed3-97b8803252fd
round to 0 (like they should be) so we don't hit the rounding
code and blow up. Fixes#103536.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7835 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-core/gncCustomer.c:
* src/business/business-core/gncEmployee.c:
* src/business/business-core/gncInvoice.c:
* src/business/business-core/gncJob.c:
* src/business/business-core/gncOrder.c:
* src/business/business-core/gncVendor.c:
add the QUERY_PARAM_ACTIVE parameter support
* src/app-util/prefs.scm: add hidden preference to store
the user's choice of searchin
* src/gnome-search/search.glade: add a checkbox to search-for-all
* src/gnome-search/dialog-search.c -- add preliminary support to
limit searches to only "active" objects. Fixes bug #103506
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7833 57a11ea4-9604-0410-9ed3-97b8803252fd
const char* (at least in guile-1.3.4), so force the string to be
a char* to make the compiler happy.
* src/engine/date.c: add spaces to the scanDate delimiters,
although it may not help if strptime() is doesn't like the
spaces. Attempt to fix#103147, but it's probably a strptime
bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7828 57a11ea4-9604-0410-9ed3-97b8803252fd
gnucash. Each type of import/export is remembered separately. #94428
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7827 57a11ea4-9604-0410-9ed3-97b8803252fd
of numerics so it copes with numbers in the "wrong" order.
Fixed bug #103341
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7824 57a11ea4-9604-0410-9ed3-97b8803252fd
of columns in order to get page-up/page-down to work without going
into an infinite loop.
* .../business-ledger/gncEntryLedgerLoad.c: suspend events
when we're creating a new entry. Unfortunately the gnucash-sheet
still never counts the blank entry, and I don't know why.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7823 57a11ea4-9604-0410-9ed3-97b8803252fd
* .../business-core/gncVendor.[ch]:
* .../business-core/gncEmployee.[ch]:
Rename ...Commodity() to ...Currency()
* .../business-core/gw-business-core-spec.scm: fix function wrappings
* .../business-core/file/gnc-customer-xml-v2.c:
* .../business-core/file/gnc-vendor-xml-v2.c:
* .../business-core/file/gnc-employee-xml-v2.c:
Use new function names.
* .../business-gnome/business-gnome.scm:
* .../business-gnome/dialog-customer.c:
* .../business-gnome/dialog-vendor.c:
* .../business-gnome/dialog-employee.c:
Use new ...Currency() functions
More prep to fix#101001
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7819 57a11ea4-9604-0410-9ed3-97b8803252fd
...Currency()
* src/business/business-core/gncInvoice.[ch]: rename ...CommonCommodity()
to ...Currency()
use new gncOwner function name
* src/business/business-core/gncEntry.c: use new Currency() functions
* src/business/business-core/gw-business-core-spec.scm:
wrap gncInvoiceSetCurrency()
wrap gncInvoiceGetCurrency()
wrap gncOwnerGetCurrency()
* src/business/business-core/file/gnc-invoice-xml-v2.c: use new funcs
* src/business/business-gnome/dialog-invoice.c: use new functions --
set invoice currency based on owner's currency
* src/business/business-reports/invoice.scm: use invoice's currency
for printing the invoice.
PARTITAL fix for #101001
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7817 57a11ea4-9604-0410-9ed3-97b8803252fd
multi-byte string. Possible fix for 99419 and 102057.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7815 57a11ea4-9604-0410-9ed3-97b8803252fd
wrap gncEntryGetInvTaxTable()
wrap gncEntryGetBillTaxTable()
* src/business/business-reports/invoice.scm: only set the "taxable"
value to 'T' if the value is true AND we've got an actual tax table.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7813 57a11ea4-9604-0410-9ed3-97b8803252fd
between business objects and scheme. Add hooks to convert between
GncAccountValue* and scheme.
* src/business/business-core/gw-business-core-spec.scm:
wrap the GncAccountValue*
wrap gncEntryReturnTaxValues()
wrap gncEntryGetInvTaxable() and gncEntryGetBillTaxable()
* src/business/business-reports/invoice.scm: change a couple of
columns. Enable viewing the "taxable" entry. Enable viewing
all the tax accounts individually (fixes bug #102892)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7812 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/import-backend.c: Fixed the date heuristics modifications, which had an unfortunate interaction with old debugging code, causing the score to be reversed, and making the matcher mostly unusable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7808 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/register/ledger-core/split-register-control.c:
Ignore certain splits with an "amount" of zero.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7806 57a11ea4-9604-0410-9ed3-97b8803252fd
a payment to the proper transfer account. Fixes bug #102893
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7804 57a11ea4-9604-0410-9ed3-97b8803252fd
1.4 and 1.6 so this change caused compilation failures for some users.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7801 57a11ea4-9604-0410-9ed3-97b8803252fd
we cannot obtain an owner from a split (in the case of a regularly-
entered split)
* src/business/business-reports/aging.scm:
* src/business/business-reports/owner-report.scm:
Cope with not being able to obtain an owner from a split.
In particular, ignore it. Fixes part of #97097.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7800 57a11ea4-9604-0410-9ed3-97b8803252fd
Make sure that we're only saving the items that have been fully
created (not half-created). Fixes the cause of bug #102776.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7798 57a11ea4-9604-0410-9ed3-97b8803252fd
about potential "error" output which can be ignored.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7794 57a11ea4-9604-0410-9ed3-97b8803252fd