gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Wed May 4 20:25:22 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/674b49bd (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3dd179c6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fccd0742 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e6eb0f32 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3f6962cf (commit)
	from  https://github.com/Gnucash/gnucash/commit/f292ed66 (commit)



commit 674b49bd8dea735aa160adc4ff483977e019c165
Merge: f292ed66a 3dd179c61
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu May 5 08:23:31 2022 +0800

    Merge branch 'maint-stock-assistant' into maint #1328
    
    - add support for warnings in stock transaction assistant
    
    - warn if new transaction date is earlier than latest stock account
    transaction date
    
    - reorder pages - input date prior to input stock activity type,
    because the latter depends on the former.

commit 3dd179c611c110e7b91842f83f737f26bd6d0942
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 4 09:24:39 2022 +0800

    [assistant-stock-transaction] use std::optional

commit fccd07424d56c39a9f61e8965fff5343fc1cd2f1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 4 09:18:36 2022 +0800

    [assistant-stock-transaction] reorder of Pages - date before type.
    
    Because the date may be in the past, and the stock balance at that
    date will dictate the available stock txn types available for
    creation.
    
    The available stock txn types is thus dependent on the desired date,
    and must only be initialized when preparing the txn_type page.

commit e6eb0f328cb1a0293ee23782dee63541a23043bb
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 4 20:02:17 2022 +0800

    [assistant-stock-transaction] warn if TxnDate < latest Stock Txn

commit 3f6962cfcaad9a292852b0d170759e6ac29a2881
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon May 2 22:48:16 2022 +0800

    [assistant-stock-transaction] refactor to allow warnings
    
    Adds support for warnings, which can still allow creating a stock
    transaction.



Summary of changes:
 gnucash/gnome/assistant-stock-transaction.cpp      | 84 +++++++++++++++-------
 .../gtkbuilder/assistant-stock-transaction.glade   | 66 ++++++++---------
 2 files changed, 92 insertions(+), 58 deletions(-)



More information about the gnucash-patches mailing list