Commit Graph

16791 Commits

Author SHA1 Message Date
Jesse Olmer
082d0f305b Bug 739571 - Matching imported transactions doesn't indicate previously matched entries
Display reconcile state of each transaction in Import Match Picker and allow
user to toggle display of reconciled transactions.

https://bugzilla.gnome.org/show_bug.cgi?id=739571
2017-03-22 22:03:55 +01:00
fell
91584df103 Update de.po
4546 translated messages, 77 fuzzy translations, 57 untranslated
messages.
2017-03-22 06:08:36 +01:00
fell
de599933e0 Prepare update of de.po
msgmerge
2017-03-22 06:08:35 +01:00
fell
b93fe76dab Add 2 translator comments to get a unique translation for 'Tax Report
Options'
2017-03-22 06:08:34 +01:00
John Ralls
52bb6b52fc Save Changes Bug 776517 - Trial Balance Report:...
Total Debits Issue re $0 Commodity Accounts and Price Source Mode Set to
"Nearest in Time" or "Most Recent"

There was a silent error from gnc-numeric-sub-fixed in
collect-unrealized-gains because a 0 value wasn't getting its
denominator set in the gnc-numeric-mul call in
gnc:exchange-by-pricedb-helper. While this is ultimately a flaw in
gnc-numeric, this commit works around it by forcing the value to the
correct denom in gnc:make-commodity-collector.
2017-03-21 17:58:15 -07:00
Geert Janssens
f9ca29aa9f Bug 766630 - gui dialog for sorting transactions to accounts after aqbanking import broken 2017-03-21 21:39:49 +01:00
Geert Janssens
d19390c0b8 Resave dialog-import.glade without any real change
Unfortunately running glade-3 on this file will reorder it completely. So this
commit is only made ad interim to be able to isolate the actual change in the
subsequent one.
2017-03-21 21:39:49 +01:00
John Ralls
70a97ee03d Bug 778208 - Scheduling 2nd, 3rd or 4th Wed doesn't seem to work.
Remove incorrect week adjustments for determining n for nth weekday
from a recurrence date when day % 7 == 0. Adjustment is only needed
in nth_weekday_compare because that function then adds 7 to the result.
2017-03-21 10:33:13 -07:00
Robert Fewell
7e65496a5f Bug 603379 - Prevent changing some Account Options if it has transactions
There are some account options that it does not make sense to change
once it contains transactions so prevent them from changing.
2017-03-21 15:35:22 +01:00
Robert Fewell
ad34bf0faa Bug 603379 - Count the splits in an Account.
This procedure is all ready in master and is used to count the number of
 splits in an account or the account and descendants.
2017-03-21 15:35:22 +01:00
John Ralls
e9a27f0eb7 Merge en_GB budget->Budget into maint. 2017-03-18 16:01:53 -07:00
Simon Hollingshead
d719b2cd67 Consistently capitalise budget in en-GB menu items 2017-03-18 22:48:51 +00:00
John Ralls
14fde85a5d Revert "Fix query period in test-account-get-trans-type-splits-interval."
This reverts commit 23da0f858c.
Although the period test failed on maint on my system--both Mac and
Ubuntu 14.04 VM--the fix fails on Travis-CI.
2017-03-18 13:11:16 -07:00
John Ralls
23da0f858c Fix query period in test-account-get-trans-type-splits-interval.
The query runs from 00:00:00 on the start date to 23:59:59 on the end
date, effectively one day more than the number specified.
2017-03-18 12:05:35 -07:00
John Ralls
c4e5941323 Merge new Finnish translation into maint. 2017-03-18 12:05:03 -07:00
John Ralls
0d48588e66 Update GnuCash version and PO date for Finnish translation. 2017-03-18 12:04:36 -07:00
Tuomo Hartikainen
95b33ba9c4 Update Finnish translation 2017-03-17 19:39:24 +02:00
Tuomo Hartikainen
082f2f2586 Merge updated po template in fi.po 2017-03-17 19:38:50 +02:00
fell
283cdbae31 PR #134: Update local symbol of iso-4217-currency MUR
We decided to choose the ligature.
2017-03-16 23:16:30 +01:00
Robert Fewell
43e4b7ff70 Bug 779411 - jqplot fixes for piechart and syntax error.
With the piechart in combination with other charts you have to set the
highlighter and cursor show tooltip to false which stops seen errors.

The syntax errors are caused by only removing the duplicated js files
and not the whole path so changed that to remove whole line.
2017-03-16 21:16:46 +01:00
Christian Stimming
9144edb464 Online banking: Add output of bank messages that might occasionally be received. 2017-03-13 21:31:16 +01:00
Christoph Rohland
4949499bd4 Charge back net value of bill entries in invoices
When charging entries from bills we need to exclude taxes since the tax
rate of the invoice might be different than that of the bill.

This fixes Bug 776380 - Gross value of bills charged back instead of
net value (https://bugzilla.gnome.org/show_bug.cgi?id=776380)
2017-03-11 11:55:11 +01:00
John Ralls
80e64a1296 Fix failed unit test from previous commit. 2017-03-10 14:23:20 -08:00
John Ralls
3889606dd6 Bug 779217 - Transactions rounded to 5 decimal places when opening file.
xaccSplitSetValue and xaccSplitSetAmount round to the denominator found by
get_currency_denom and get_commodity_denom. The problem was that if the
commodity was unfindable because either the split’s parent or account hadn’t
been set (as is the case during loading, because the parent isn’t yet complete)
the returned denominator would be 100000, smaller than the max supported.
That would cause the value/amount to be prematurely rounded.
2017-03-10 13:21:02 -08:00
John Ralls
bc50f3da00 Bug 777949 - Accounts implicitly created in ledger attempt creation twice
Guard against recursively calling the account doesn’t exist query or creation
dialog if one is already in the account creation dialog.

The underlying problem is that creating the dialog forces a UI update that
in turn sets the cell value and checks for the existence of the account.
In basic view the cell being displayed (“transfer”) isn’t the one being
changed (“account”) so the account check isn’t invoked, but in
multi-split view the “account” cell *is* displayed so the check is invoked
again.
2017-03-10 10:54:22 -08:00
John Ralls
97598c4306 Bug 776564 - Creating a scheduled transaction from an existing...
transaction does not include the notes field.

In fact, notes support was entirely missing from scheduled transactions.
2017-03-09 11:38:42 -08:00
Geert Janssens
03ff5d3778 Allow only date entry for opening balances on new accounts
This anomaly was spotted by Christopher Lam
2017-03-04 12:25:56 +01:00
hcrohland
de360cabb3 Revert the taxinvoice.scm changes
Since they touch strings and user behavior they cannot go into maint.
The pull request now only includes the backend change. By that you can
easily tweak the invoice reports to show the net price.
2017-03-04 10:15:00 +01:00
hcrohland
3445ef8845 Make the net price option better compatible with master
Create one gncEntryGetPrice function which can create given price or
net price for both invoices and bills based on option parameters.
The master version of taxinvoice.eguile.scm needs this for bills too.
2017-03-04 10:14:55 +01:00
hcrohland
78c5203d8c Enable taxinvoice to show net price
Add gncEntryGetNetPrice
Create an option in taxinvoice to either use gncEntryGetNetPrice or
gncEntryGetPrice

So far taxinvoice would show net or gross prices dependent on the internal flag tax_included.
This is inconsistent for the reader of the invoice since there is no notion of that flag.
This patch adds the option to always show net prices.
It does not change the default behaviour even if I would consider it broken.
2017-03-04 10:14:48 +01:00
sdementen
ece859705d add gnc_get_current_session to swig interface 2017-02-18 16:38:46 +01:00
fell
5eb1fffa7d Review of pull request #125 from Mechtilde 2017-02-14 08:08:09 +01:00
Frank H. Ellenberger
03d6b7c200 Merge pull request #125 from Mechtilde/TranslationDE
Translation de
2017-02-14 05:27:48 +01:00
Mechtilde
02d9065db6 msgmerge with gnucash-2.6.15.pot 2017-02-12 09:48:45 +01:00
Mechtilde
bcffaea86e translation tip_of_the_day 2017-02-12 09:43:13 +01:00
fell
b78d7c72ce Improve comment about available languages 2017-02-12 00:02:33 +01:00
fell
260f1ba312 Set a separate translator comment to avoid pulling the whole file header
comment in POT

Follow up of commit 7432ba8
2017-02-10 22:52:02 +01:00
fell
cfdaa073a1 Fix german language tag
found by i18nspector
2017-02-10 21:48:14 +01:00
fell
2ac3ddec9c Update PACKAGE_BUGREPORT, set PACKAGE_URL
We prefer bugzilla entries over emails
2017-02-10 21:31:52 +01:00
John Ralls
93301cd285 Make gnc_dbi_safe_sync_all safer.
Creates a new safe_sync function in struct provider and a new
gnc_db_do_safe_sync_all function with the guts of gnc_dbi_do_safe_sync_all.
The last calls the provider’s safe_sync function, which for SQLite3 and
PGSql wraps the call to gnc_dbi_do_safe_sync_all in a SQL transaction.
Unfortunately MySQL commits the transaction on the first schema-altering
query (CREATE_TABLE in this case) without decrementing sql_savepoint, so
raising an error when we try to release the (non-existent) save point at
the end of writing the tables.

Add a gnc_dbi_check_and_rollback_failed_save() to restore the database
after a failed safe_save; this is performed at the next connection.
2017-02-04 17:36:09 -08:00
John Ralls
a70637f34d Move the transaction-lock on obtaining the database lock earlier.
So that opening/creating the table is included. Also modify the condition
to reduce code nesting.
2017-02-04 17:24:32 -08:00
John Ralls
979e6397c1 Add SAVEPOINT support to enable nested gnc_dbi_transaction calls. 2017-02-04 09:50:50 -08:00
John Ralls
db73c39bf1 Extract static gnc_dbi_transaction functions.
To enable local calls (as opposed to just virtual calls via
GncDbiSqlConnection) and replace all direct transaction queries with the
new functions.
2017-02-04 09:41:45 -08:00
DIG
b682fe6b43 Small updates for Russian translation 2017-02-02 09:28:45 +01:00
Geert Janssens
02adf447fd Bug 777875 - Reports with charts are flickering in certain circumstances
This flickering was triggered by interference between scrollbar
visibility changes and report reloading. Both should not happen
at the same time.
2017-02-01 19:18:00 +01:00
Geert Janssens
5a144699b9 Extend account color to all columns in the account hierarchy page 2017-01-30 22:12:25 +01:00
Geert Janssens
0a782dd0c0 Travis - fix failure to load some libraries while running scm tests
In the travis environment (guile 1.8 in combination with other unidentified,
particular package versions) the scm based tests are looking for
backend modules (xml and dbi) in the installation prefix instead of
in the build directory. Explicitly setting the environment variables
GNC_BUILDDIR and GNC_UNINSTALLED fix this. I haven't figured out why this
is not needed on all platforms/tool version combinations. But the fix
works in all (autotools based) cases. CMake builds may need a similar
fix, but I don't know that environment sufficiently to implement it.
2017-01-28 18:02:08 +01:00
Geert Janssens
c87fa9eac1 Bug 759934 - Tiny reports in HiDPI
While a proper solution is only possible with a more recent
version of webkit, this commit will allow users to work around
the issue by manually setting a default zoom level for reports.
This setting can be found under
Edit->Preferences->Reports
2017-01-28 17:56:59 +01:00
Geert Janssens
33f39627e3 Drop a couple of webkit related configure tests
The tests are only relevant to webkit versions older than our baseline.
2017-01-27 19:24:53 +01:00
D. Hugh Redelmeier
51332b1a65 add comments to clarify that taxtxf.scm is US-specific
src/report/locale-specific/us/taxtxf.scm is specific to US tax codes.
Add comments to make this clear.
2017-01-27 10:17:43 +01:00