Commit Graph

22591 Commits

Author SHA1 Message Date
Christopher Lam
8f68d54292 Merge branch 'maint-refactor-reconcile-renderers' into maint 2020-04-14 20:48:41 +08:00
Christopher Lam
695d8b820e Bug 797605 - RFE: Customer/Vendor/Employee Overview should also have "Process Payment" toolbar 2020-04-14 19:26:34 +08:00
Christopher Lam
5c2353f06b [window-reconcile] refactor common actions into WidgetSetAmount
Previous code was ugly - reuse char *amount for all strings including
date, gratuitous balance reversals and immediate re-reversals.

Refactor common code to render and colorise amount into
widget. Verified matches current behaviour in both BANK and CREDITCARD
accounts.

Instead of reversing sign, render, and re-reversing sign, the
rendering function will handle sign reversal using a local variable.
2020-04-14 17:31:43 +08:00
John Ralls
e01a2a6438 Merge Jean Laroche's '797114_Delet_Account' into maint. 2020-04-13 11:57:57 -07:00
John Ralls
3ca8fa1229 Merge branch 'maint' 2020-04-13 11:27:14 -07:00
John Ralls
1365a19e2e Force WITH_PYTHON=YES for distcheck.
To ensure that it works from the tarball.
2020-04-12 15:51:05 -07:00
John Ralls
e1b0140357 Fix failed build of python tests and failed test in 3.10 tarball. 2020-04-12 13:43:00 -07:00
John Ralls
06033c19cd Fix typo. Really fixes 797674. 2020-04-12 13:40:49 -07:00
jean
5642f0236d Bug 797114 - Fixing an SX due to deleted account stuck in an error loop 2020-04-12 12:20:47 -07:00
John Ralls
7d39ccc9d7 Release GnuCash 3.10 2020-04-11 14:30:22 -07:00
John Ralls
c91fb77fae Bug 797674 - 3.9: test-gnc-path-util failed on Debian amd64 2020-04-11 14:23:27 -07:00
John Ralls
6ac309a92f Update latest translation from the Translation project. 2020-04-11 09:31:59 -07:00
Christopher Lam
4524196ff1 [window-reconcile] when reconciling, warn splits recndate>statement_date 2020-04-11 13:16:04 +08:00
Christopher Lam
95fcbdd692 [window-reconcile] when inputing statement_date, warn if after today 2020-04-11 12:07:09 +08:00
Christopher Lam
77240dba43 [find-transactions] add search for reconciled date 2020-04-11 11:24:00 +08:00
John Ralls
3b0c91bb57 Show transaction value, not amount, for registers with subaccounts.
If the register has subaccounts in different currencies and a
transaction has splits in more than one, the transaction will
incorrectly appear to be unbalanced if we total amounts because
the balancing logic works on split values.
2020-04-10 15:48:41 -07:00
John Ralls
aac3ea6909 Bug 797676 - Register displays amount in transaction currency...
instead of register currency.
2020-04-10 15:48:41 -07:00
Christopher Lam
642885a186 Revert "Bug 797659 - Liabilities in budget report no longer calculate correctly"
This reverts commit 2329c1c508.

Reverted for snap release. Not tested thoroughly yet. Bug 797659 need
further betatesters.
2020-04-10 08:56:37 +08:00
Christopher Lam
9733b4c960 Revert "Bug 797640 - The Reconciliation Window starting balance calculator needs to ignore splits after statement date"
This reverts commit f182d9f912.

Reverted for snap release. Breaks reconciliation when data has future
reconciled_dates.
2020-04-10 08:56:37 +08:00
John Ralls
882fd22ca1 Merge Christoph Holtermann's 'python-app-utils' into maint. 2020-04-06 12:17:03 -07:00
John Ralls
fdfaca5575 Merge Christoph Holtermann's 'python-session-instance-constructor' into maint. 2020-04-06 12:05:21 -07:00
John Ralls
5adf54a5ec Make python console less noisy without --debug. 2020-04-06 11:28:49 -07:00
John Ralls
71eae1f223 Merge Christoph Holtermann's 'python-shell-access-outer-variables' into maint. 2020-04-06 11:15:04 -07:00
Robert Fewell
72bcf7f7af Fix issue when editing the account tree view notes field
When you try to edit a multiline account notes field in the account
tree view you end up with just one line with control characters as it
is being edited with a GtkCellRenderText cell. To fix this I have added
a new cell renderer based on a text view.
2020-04-06 17:51:32 +01:00
c-holtermann
e2c37359ef high level python wrappers for app-utils 2020-04-06 07:22:06 +02:00
c-holtermann
4dcdec664a remove whitespace in parentheses (PEP 8) 2020-04-06 07:03:40 +02:00
c-holtermann
ab843c0b7a include gnucash_core of python bindings in python swig app-utils 2020-04-06 07:03:40 +02:00
c-holtermann
43cebedd3d tests for session 2020-04-06 07:03:40 +02:00
c-holtermann
daff201ffb don't allow instance=None for wrapper objects 2020-04-06 07:03:03 +02:00
c-holtermann
0c42c94cd3 provide locals and globals of calling context to shell on shell init 2020-04-06 06:12:00 +02:00
John Ralls
2bdc936695 Merge Jean Laroche's '797006_subaccounts' into maint. 2020-04-05 15:58:03 -07:00
John Ralls
3b381f25c3 Merge Chris Mayo's iPython-fixes into maint. 2020-04-05 15:16:05 -07:00
John Ralls
640171c211 Merge Jean Laroche's '797318_MRO' into maint. 2020-04-05 14:38:46 -07:00
John Ralls
8ccc1579d9 Bug 797666 - libgnucash/engine/test/test-recurrence.c: In function 'check_valid': 'result' may be used uninitialized 2020-04-05 12:06:02 -07:00
Robert Fewell
78cbbf06a1 Update the gtk-3.0.css example file
Update the CSS example file based on the new classes and widget names
and add a few more entries.
2020-04-05 16:26:22 +01:00
Robert Fewell
fb2beaaaa6 Remove old version for adding style classes to widgets 2020-04-05 16:26:22 +01:00
Robert Fewell
c3900aacbc Change CSS class and names set via g_object
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 16:26:22 +01:00
Robert Fewell
08beb7c5a7 Change CSS class and names used for Business
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:52:04 +01:00
Robert Fewell
95c2e5b556 Change CSS class and names used in Assistants
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:51:25 +01:00
Robert Fewell
c6bac56e2b Change CSS class and names used in Search dialogs
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:50:50 +01:00
Robert Fewell
c1b0474c23 Change CSS class and names used plugin pages
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:50:14 +01:00
Robert Fewell
53b2c2562f Change CSS class and names used for Accounts
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:49:35 +01:00
Robert Fewell
f6b1f2ce0f Change CSS class and names used in Matcher Help
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:49:00 +01:00
Robert Fewell
836026a2d4 Change CSS class and names used in gnome
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:48:23 +01:00
Robert Fewell
ba924d83a7 Fix the alignment of the month header
The spacing for the month header was based on the day width but as the
month text is turned 90 degrees it should of been on day height. Also
tweaked the marker position code.
2020-04-05 13:47:48 +01:00
Robert Fewell
56f023347d Change CSS class and names used in gnome-utils
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:47:15 +01:00
Robert Fewell
0546dd545f Change CSS class and names used for the Register
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:46:09 +01:00
jean
4a8350ece2 797318 - Amounts ending in zero displayed as fractions 2020-04-04 14:43:03 -07:00
Christopher Lam
7189337b02 [eguile-utilities] prevent crash in balsheet-eg.scm
bb986e474 use of (ice-9 match) was technically sound however exposes a
subtle bug; _ in the matching pattern is meant to match anything
however it exposes undefined behaviour when _ is already bound to
gnc:gettext. Solution for now is to omit the second _.
2020-04-05 00:35:15 +08:00
Christopher Lam
d596056786 [eguile] escape-html -> gnc:html-string-sanitize
forgot to substitute function which was removed in a previous commit
32692721. this shouldn't matter because debugging? is #f in
production.
2020-04-04 22:40:01 +08:00