Commit Graph

16087 Commits

Author SHA1 Message Date
hawk-lord
ab41545afe Added Swedish account files 2014-09-04 09:40:35 -07:00
Jethro Beekman
07ebd9b979 Bug 733186 - [PATCH] Extend account tree view search function 2014-09-03 22:56:54 +02:00
Geert Janssens
a90fbcb21b Bug 689489 - Be able to show file location
The file location is now visible in the status bar
while hovering over the recent file list of the File menu.
The currently open file is the top-most file in this list so its
location can be seen by hovering over it with the mouse.
2014-09-03 22:23:08 +02:00
Geert Janssens
4ecc4cb7d0 Merge branch 'maint'
* Bug 711440 - Tab labels have different background colour than containing gui element
* Bug 434462 - register color don't work correct with system theme color
* Add scrub function for (business) lots to eliminate unneeded lot links
* Rewrite invoice payment logic to use lot links only when absolutely needed
* Bug 684719 - Man pages for gnc-fq-* perl scripts
2014-09-02 22:59:41 +02:00
Frank H. Ellenberger
afa2cc4feb Bug 684719 - Man pages for gnc-fq-* perl scripts 2014-09-02 22:59:02 +02:00
Geert Janssens
6114a960a9 Add business lot scrubbing to Check & Repair->All/This transaction(s) 2014-09-02 22:45:12 +02:00
Geert Janssens
1015a43090 Make scrub in lot viewer scrub business lots using the new scrub functions. 2014-09-02 18:26:24 +02:00
Geert Janssens
9ca4649e6a Rewrite invoice payment logic to fix lot link proliferation
- most payments will behave is it did in 2.4.x
- when two or more documents are involved in the payment
  a lot link between those document lots will be created
2014-09-02 18:26:24 +02:00
Geert Janssens
afc790d3cf Refactor get_pay_split into gncOwnerFindOffsettingSplit
In this form it can be used both for scrubbing lot links and for adding new payments
2014-09-02 18:26:23 +02:00
Geert Janssens
e44bb5ffac Refactor gncOwnerReduceSplitTo out of reduce_biggest_split
It can now be used both for scrubbing and when applying payments
2014-09-02 18:26:23 +02:00
Geert Janssens
7b642081a3 Refactor gnc_doc_doc_link into gncOwnerSetLotLinkMemo and move it
It can now be used both for scrubbing and when applying payments
2014-09-02 18:26:23 +02:00
Geert Janssens
ac55c953ad Handle the case of scrubbing a lot link between two non-document lots 2014-09-02 18:26:22 +02:00
Geert Janssens
b5fa7ee380 Tweak the get_pay_split function to prefer the best possible match 2014-09-02 18:26:22 +02:00
Geert Janssens
85b910acc3 Refactor scrub_doc_pay_link into scrub_other_link and make it more generic
It can now be used both to
- move a payment to a document lot (its original use case)
- move a refund to a payment lot or the other way around
2014-09-02 18:26:22 +02:00
Geert Janssens
434b7f6ebb Add scrub function to reduce the amount of lot links used.
Only lot links between two or more document lots must remain.
All lot links between document and payment lots can be scrubbed.
2014-09-02 18:26:21 +02:00
Geert Janssens
413eb69707 Widen the scope of the subsplit merge scrub function
When used in a strict sense it will only merge splits
that are marked as subsplits of each other.
In relaxed mode it will merge any split two splits that
are both in the same lot and the same transaction.
2014-09-02 18:26:21 +02:00
Geert Janssens
da9071fe49 Move account type checking functions into the engine 2014-09-02 18:26:21 +02:00
Geert Janssens
58b5a8e1f9 Remove superfluous include statements 2014-09-02 18:26:20 +02:00
Geert Janssens
9cfc22f4f9 Small corrections in doxygen comments 2014-09-02 18:26:20 +02:00
Geert Janssens
f8a27b7140 More ENTER/LEAVE corrections at function exit points 2014-09-02 18:26:20 +02:00
John Ralls
0e7011665a Balance ENTER with a LEAVE for all exit points.
For xaccLotFill and xaccLotScrubDoubleBalance, anyway.
2014-09-02 18:26:19 +02:00
Geert Janssens
87654e69f6 Bug 434462 - register color don't work correct with system theme color - Part 2
This commit fixes this for (business) entry ledgers.
2014-09-02 15:17:48 +02:00
Geert Janssens
ac1990fc9d Bug 434462 - register color don't work correct with system theme color - Part 1
This commit fixes this for ordinary registers. Entry ledgers (business) aren't handled yet.
2014-09-02 15:17:47 +02:00
Geert Janssens
61cd3f1106 Rename enum elements to make room for foreground equivalents 2014-09-02 15:17:47 +02:00
Geert Janssens
904afd8bd5 Refactor register color functions to reduce duplication 2014-09-02 15:17:46 +02:00
Geert Janssens
0a394c5bba Bug 711440 - Tab labels have different background colour than containing gui element 2014-09-02 15:05:26 +02:00
Mike Alexander
48c24d9936 Merge branch 'maint' 2014-09-02 00:21:24 -04:00
Mike Alexander
8d9b3c7c5d Bug 735769: Enable price and shares cells in a split if it is not in the trans currency.
The label for the cells are changed to "Exch. Rate" and "Oth. Curr." in this case.
2014-09-02 00:18:10 -04:00
Mike Alexander
668aab4a2b If the cursor moves from one register cell to another, refresh the register headers.
If trading accounts are on and the transaction is expanded then the headers
depend on the type of split the cursor is in.
2014-09-02 00:16:06 -04:00
Christian Stimming
8edb303143 Aqbanking transfer: Make IBAN and BIC text entry fields filter digits or alphas correctly as needed. 2014-09-01 20:58:42 +02:00
Mike Alexander
18666f1ed2 Merge branch 'maint' 2014-08-31 18:49:35 -04:00
Mike Alexander
483302aba0 Use guint64 instead of uint64_t with G_GUINT64_FORMAT to avoid warnings. 2014-08-31 18:34:24 -04:00
Mike Alexander
67f84774e9 Change gncOwnerGetBalanceInCurrency to only cosider lots that contain an invoice.
This function is currently only used in the owner tree code and this change
will cause payments not properly linked to invoices to be ignored when computing
owner balances.
2014-08-31 18:20:52 -04:00
Mike Alexander
a028ae0f98 Finish implementing the "Show zero balance owners" filter option.
It always showed nothing before.
2014-08-31 18:20:42 -04:00
Mike Alexander
95816477e4 The sense of the "Only show active customers" checkbox was inverted. 2014-08-31 18:20:26 -04:00
Christian Stimming
85c74fbeaa Get the Aqbanking transfer action to work again: Revert part of 7faed65401.
As discussed in
https://lists.gnucash.org/pipermail/gnucash-devel/2014-July/037868.html
as an exception the direct access to the kvp is enabled again in
import-export/aqb/gnc-ab-kvp.c because the way aqbanking transfer templates
are stored cannot be mapped directly on the properties mechanism.
With this implementation, at least the read access to the templates
works again, which means the aqbanking transfers can be used again (they
crashed immediately up until now).

However, writing a changed template to the kvp seems to not work - the
changed values seem not to be saved. This would be a bug, but not as severe
as the previous one. The unittest verifies both reading and writing,
though, and there also writing works fine. Well, this can be worked
on later.
2014-08-31 22:48:56 +02:00
Christian Stimming
1ee4210b5f Make aqbanking kvp test really working.
It now contains the part that is failing since 7faed65401 which
is disabled at the moment but can be seen by setting test-kvp:c:94 to
if (1).
2014-08-30 21:18:35 +02:00
Christian Stimming
5b653811f8 Add some initial aqbanking test with example file that should demonstrate the hbci template kvp problem.
Not yet working, though - the test, I mean.
2014-08-29 23:33:01 +02:00
Geert Janssens
c9af8269fa Bug 707243 - Hard-coded font colors in account tree? 2014-08-29 22:48:16 +02:00
Christian Stimming
0871df5628 Gtkmm wrappers: Adapt to setting qof_instance_set_dirty as private functions. 2014-08-29 21:55:32 +02:00
Christian Stimming
c37fa6f8b0 CMake: Update build system to build again. 2014-08-29 21:55:12 +02:00
Geert Janssens
b69fe381df Improve messages in account hierarchy assistant.
Inspired on a proposal by Jeff Kletsky <gnucash@allycomm.com> from 2010...
2014-08-25 17:03:20 +02:00
John Ralls
dd10aab53a Balance ENTER with a LEAVE for all exit points.
For xaccLotFill and xaccLotScrubDoubleBalance, anyway.
2014-08-22 16:30:12 -07:00
John Ralls
3f8718ea3b Divide the value by the rate to get the amount.
Avoids overflowing the amount and is anyway much more realistic:
Value = Amount * price, so a large "rate" means a small price. Since
get_random_rate() is biased to producing large rates (denom is fixed
at 100), it was effectively testing infinitesimal prices.
2014-08-22 16:30:12 -07:00
John Ralls
bad092a46d Prevent assigning capital gains splits to lots.
They're generated by lots, and when xaccSplitComputeCapGains sees one it grabs the originating lot which naturally doesn't balance.
2014-08-22 16:30:11 -07:00
Mike Alexander
1134d64a35 Merge branch 'maint' 2014-08-14 17:18:51 -04:00
Mike Alexander
5db0cb98d4 Bug 722140: Add option to control inclusion of trading accounts in cash flow report. 2014-08-14 17:17:18 -04:00
Mike Alexander
f4d2cc2863 Remove an AC_MSG_CHECKING/AC_MSG_RESULT that is redundant and confusing. 2014-08-14 17:11:49 -04:00
Mike Evans
7015cf9edf Bug 734168 - Tax invoice can be a bill too. 2014-08-12 13:15:14 +01:00
John Ralls
e25c2a34b9 POTFILES.in resulting from previous make-gnucash-potfiles changes. 2014-08-08 15:15:23 -07:00