* allow proportional application of dividends/fees in a
multi-stock txn,
* collect reinvested dividend amounts from the buy split not income split,
* track reinvested dividends separately from dividend income,
* report income when dividends are *not* reinvested if there is a zero
value/amount split tied back to the stock account.
Thanks to Richard Laager for ideas and guidance.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16774 57a11ea4-9604-0410-9ed3-97b8803252fd
In gas_populate_list, the currently selected account is searched in
the new data, falling back to the first element in the list and
selecting it afterwards. So, often "Assets" is activated, whereas the
filtering happening later does not deselect it in any way (the user
may have typed it in).
This patch simply removes the fallback to element 1. To make the gas
look better, it may help to set it initially, like to an entry that
was used recently.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16773 57a11ea4-9604-0410-9ed3-97b8803252fd
As pointed out by Bruno Haible, if there is only one dgettext call
the easiest way to exclude this from xgettext extraction is to rename
this particular dgettext call by a wrapper macro.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16767 57a11ea4-9604-0410-9ed3-97b8803252fd
lots of GNC-AUTO-DENOM seems to clean up the overflowing and prevent phantom gains/losses from rounding errors.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16759 57a11ea4-9604-0410-9ed3-97b8803252fd
If we do need to sleep, next time the comment should explain why.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16746 57a11ea4-9604-0410-9ed3-97b8803252fd
This stems from r16550 and r16551 and is due to a weird mixture of
utf-8 and iso-8859-1 in the de_* files.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16742 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove the unnecessary "for" in the report title.
This doesn't introduce any new string. It can be back-ported right away.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16740 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Klee Dienes <klee@mit.edu>
* src/engine/Account.c (xaccAccountRemoveLot): Generate a
QOF_EVENT_REMOVE for the lot and QOF_EVENT_MODIFY for the account.
(xaccAccountInsertLot): Ditto, but QOF_EVENT_ADD.
* src/engine/gnc-lot.c (gnc_lot_make_default): Move from
cap-gains.c.
* src/engine/gnc-lot.h (gnc_lot_make_default): Add prototype.
* src/engine/cap-gains.c (MakeDefaultLot): Move to gnc-lot.c as
gnc_lot_make_default().
* src/gnome/lot-viewer.c: Add code to support lot creation:
(RESPONSE_NEW_LOT): Add enumerated value.
(lv_save_current_row): New function.
(lv_select_row): Add call to lv_save_current_row.
(lv_unselect_row): Use lv_save_current_row.
(lv_close_handler): Use lv_save_current_row.
(lv_response_cb): Handle RESPONSE_NEW_LOT.
(gnc_lot_viewer_dialog): Watch for QOF_EVENT_ADD and
QOF_EVENT_REMOVE for lots.
* src/gnome/glade/lots.glade: Add "new lot" button.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16725 57a11ea4-9604-0410-9ed3-97b8803252fd
Use instead of extra columns.
Patch by Paul Andreassen
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16723 57a11ea4-9604-0410-9ed3-97b8803252fd
Actually, maintain separate number sequences for Customer Invoices,
Vendor Bills, and Employee Expense Vouchers. Support Jobs, too.
Based on a patch by Alex Prinsier.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16720 57a11ea4-9604-0410-9ed3-97b8803252fd
Based on the patch from Mike Alexander, walk up the account
tree until we find a "currency" account and use that instead
of always using the locale currency. Pop up a dialog if this
fails search fails.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16718 57a11ea4-9604-0410-9ed3-97b8803252fd
harness to actually get the checks to pass with r16690.
This was an overflow in the test harness.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16716 57a11ea4-9604-0410-9ed3-97b8803252fd
Make sure to properly set account commodity.
Make sure a currency sub-account doesn't already exist before creating one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16715 57a11ea4-9604-0410-9ed3-97b8803252fd
Add 12 hours to the close_date before asking for the BalanceAsOfDate()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16714 57a11ea4-9604-0410-9ed3-97b8803252fd
Helps the user to auto-zeroize Income and Expense accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16713 57a11ea4-9604-0410-9ed3-97b8803252fd
Pointed out by Clytie Siddall. Those will break several translated
strings, but the fixed typos are an actual improvement.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16706 57a11ea4-9604-0410-9ed3-97b8803252fd
Pointed out by Clytie Siddal. Those will break 2 translated strings.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16705 57a11ea4-9604-0410-9ed3-97b8803252fd
Those strings are invisible for almost any user anyway and can therefore
be back-ported soon, too.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16704 57a11ea4-9604-0410-9ed3-97b8803252fd
This changeset does not add any untranslated strings and does not
change any existing translated strings. It can directly be back-ported.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16703 57a11ea4-9604-0410-9ed3-97b8803252fd
Make it work for builddir != srcdir. Do not distribute share\icons or
share\pixmaps on win32.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16683 57a11ea4-9604-0410-9ed3-97b8803252fd