Commit Graph

21806 Commits

Author SHA1 Message Date
Christopher Lam
b5ae8416a0 [new-owner-report] remove dependency on new-aging
because gnc:owner-splits->aging-list belongs to report-utilities.scm
2019-11-02 09:27:13 +08:00
Christopher Lam
158b5caf63 [new-aging] restore display of owner address 2019-11-02 09:05:22 +08:00
Christopher Lam
2df672bdb2 [gncOwner] i18n gncOwnerGetTypeString types 2019-11-02 09:05:22 +08:00
Christopher Lam
b1e32c8a9d [report-utilities] minor refinements 2019-11-01 19:36:08 +08:00
Christopher Lam
5f6413c6c5 [report-utilities] tiny reordering to remove unnecessary reference
instead of split->txn->invoice->lot->invoice
grab split->txn->invoice->lot directly
2019-11-01 19:30:17 +08:00
Christopher Lam
5688204118 [html-style-sheet] compact function using ice-9 match 2019-10-31 09:11:08 +08:00
Christopher Lam
5614cbbe42 [stylesheets] merge easy/fancy/footer stylesheets 2019-10-31 09:07:53 +08:00
Robert Fewell
f35a39c744 Change some spacing in the source files gnc-tree-model-account.* 2019-10-30 13:40:21 +00:00
Robert Fewell
2ff91cf4e1 Bug 797453 - Chart of Accounts is slow to update / redraw
The chart of Accounts tree view gets redrawn often and gets the data
from the model via gnc_tree_model_account_get_value(). As such the
numeric values are constantly being recalculated on every draw which is
not ideal. This change caches all the string values to a GHashTable for
retrieval which should be quicker than before.
Changes to an account will clear the cache for that account and its
parents so values can be updated. Changes to the preference negative
colour clears the whole cache.
2019-10-30 13:39:06 +00:00
Christopher Lam
e83938fdc2 [aging] update error reporting
This error handling was for transactions in APAR accounts whereby
Transaction Currency != Owner Currency. An example is a manually
entered transaction, then assigned as payment to a customer with a
different currency. Update to modern API calls. Show the culprit
split details.

Fixed example output:

IGNORING TRANSACTION!
Invoice Owner: [None:]
Transaction:Txn<d:28/10/19>
Splits are:
Split<d:28/10/19,acc:Current,amt:$150.00,val:£150.00>
Split<d:28/10/19,acc:AR,amt:$0.00,val:-£150.00>
Transaction Currency:GBP
Client Currency:AUD
2019-10-28 23:51:27 +08:00
Christopher Lam
2e1b87e01f [report-utilities] gnc:strify add lot printer 2019-10-28 20:18:47 +08:00
Christopher Lam
644cb4100e [gncOwner] add gncOwnerGetTypeString returns owner-type
* will have several uses
2019-10-28 20:18:47 +08:00
Christopher Lam
d893723479 [new-owner-report] combined job/owner reports 2019-10-27 21:03:27 +08:00
Christopher Lam
f4a9084303 [new-aging] upgrade owner-splits->aging-list to report-utilities
it can be reused by new-owner-report
2019-10-27 19:08:47 +08:00
Christopher Lam
0ef11d16e1 [new-aging] new receivable/payable aging reports 2019-10-27 14:53:45 +08:00
Christopher Lam
6eab852f1c [report-utilities] fix dangling ) in eb929fd6d 2019-10-27 11:45:14 +08:00
Christopher Lam
eb929fd6d3 [report-utilities] gnc:strify add invoice->str, refine owner->str 2019-10-27 11:15:16 +08:00
Christopher Lam
77855a7ed6 [report-utilities] add owner printers 2019-10-26 23:04:06 +08:00
Christopher Lam
0aad777870 [stylesheets] homogenize easy/fancy/footer
* with these reordering of functions, easy == fancy
* also footer = easy|fancy + footer
2019-10-26 11:19:33 +08:00
Christopher Lam
2dd2f0dc65 [stylesheets] replace raw <center> with style attribute 2019-10-25 23:16:11 +08:00
Christopher Lam
7ec1596e9c [stylesheets] replace raw <div> for headpixmap with html-table-cell 2019-10-25 23:16:11 +08:00
Christopher Lam
dc8310843b [stylesheets] remove unnecessary N_ in option section/name 2019-10-25 23:16:11 +08:00
Christopher Lam
b2fcfbd3c6 Bug 797326 - Enhancement: budget's Estimate tool should ignore Closing Entries
Addendum to 8b8c957ed -- if budgeted amounts exclude closing entries,
actual amounts should also exclude closing entries.

Amend documentation, modify budget test to add a closing entry which
will be ignored.
2019-10-25 18:27:47 +08:00
Maurits Lamers
ff8be25339 exposing invoice type through a invoice window getter 2019-10-24 17:15:07 +02:00
Maurits Lamers
6c35d66653 fix missing word in documentation 2019-10-24 17:02:23 +02:00
John Ralls
1dc22e53c5 Fix test_xaccTransEqual.
Needed to make the noclosing_balances equal to get the balance-equality test to pass.
2019-10-23 20:09:40 +08:00
Christopher Lam
8b8c957ed2 Bug 797326 - Enhancement: budget's Estimate tool should ignore Closing Entries
addition to estimate-budget tool to optionally ignore closing entries
using brand new API
2019-10-23 20:09:40 +08:00
Christopher Lam
198570d8c8 Bug 797390 - xaccAccountRecomputeBalance also tallies no-closing balances
Add a few API, enough for fixing bug 797326 easily.
2019-10-23 20:09:40 +08:00
Christopher Lam
d881130a19 [standard-reports] convert to srfi-9
because 2-arg record-constructor is being deprecated.

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=f7b4055b
2019-10-23 19:27:20 +08:00
Christopher Lam
df187e70b7 [balsheet-eg] remove dead code
and 2-arg record-constructor is deprecated in new-guile
2019-10-23 00:11:30 +08:00
Frank H. Ellenberger
077ad86622 Merge PR #594 into maint 2019-10-20 03:07:41 +02:00
Christian Stimming
0da671e4e2
Merge pull request #593 from stovocor/iban-error-de
Fixed German IBAN error message
2019-10-19 21:36:05 +02:00
milotype
8b20a7ebea
Update croatian hr.po
- one new translation
- removed orphaned records
2019-10-19 21:20:06 +02:00
Stephan Windmüller
c5d136e469 Fixed German IBAN error message 2019-10-19 20:57:10 +02:00
Frank H. Ellenberger
871a05dc86 [L12N] Update hr.po to POT-Creation-Date: 2019-10-19 07:26+0200
1 untranslated message.
2019-10-19 07:40:03 +02:00
milotype
e6875c11e4 Update hr.po to POT-Creation-Date: 2019-09-26
minor changes and adapted to .pot file changes
2019-10-19 07:24:17 +02:00
Frank H. Ellenberger
80d9aadf9b Merge branch 'PR_#590' into maint 2019-10-19 07:07:03 +02:00
Frank H. Ellenberger
63ccaca01a Fix a typo in README.dependencies 2019-10-19 06:49:11 +02:00
Christopher Lam
c7c76c2e0b Bug 797462 - gnc:strify reports the amount and value incorrectly
amt and val were incorrectly labelled. swap to match label.
2019-10-18 19:20:37 +08:00
Geert Janssens
1a8c2f2801 Merge branch 'editable-fields-posted-invoice' of https://github.com/amishmm/gnucash into maint 2019-10-17 22:52:04 +02:00
Geert Janssens
994dcd5d9f Remove debugging messages that accidentally had slipped in 2019-10-17 22:45:39 +02:00
Geert Janssens
eb37d7f642 Correct Dutch Win32 README file
The sentence was cut off prematurely.
2019-10-17 22:15:00 +02:00
avma
15ecbc316f
Hebrew translation update
Fixed minor typos
Update to the latest .POT
2019-10-17 19:48:55 +03:00
Christopher Lam
71bdcdfa60 [test-budget] add budget-balance-sheet tests 2019-10-16 20:56:36 +08:00
Christopher Lam
24102e5d17 [budget-balance-sheet] sanitize html string to enable sxml parsing 2019-10-16 20:56:36 +08:00
John Ralls
9661a77f3c Bug 797459 - Installation (for 3.7) Readme Version number shows 2.2.x
Remove the version line and update the number of developers: The
AUTHORS file shows more than 200, not counting patches.
2019-10-15 10:55:18 -07:00
John Ralls
57e403b048 Fix segfault in test-portfolios after debug build.
gnc-clear-current-session deletes the pricedb so deleting it first
is unnecessary. Deleting it first and not nulling the pointer in
the book leads to accessing freed memory, and debug mode poisons
that to force a crash when it happens.
2019-10-12 09:38:12 -07:00
Christopher Lam
4c790b2084 Bug 412151 - Not handling exception when guile is compiled w/o regexp support
disable qif-import and make-regexp if guile is compiled without regex
2019-10-12 13:36:57 +08:00
Christopher Lam
530f778dbb [trep-engine] disable regex if no regex in guile 2019-10-12 13:36:57 +08:00
Christopher Lam
8e64fa7f65 [html-style-info] compact gnc:html-style-table-fetch 2019-10-12 13:36:57 +08:00