GnuCash 5.15

5.15Desktop

GnuCash 5.15 Released

<li>Major improvement in Python bindings to enable engine methods to return Python objects instead of SWIG pointers. Covers Account, Split, Transaction, GNCLot, gnc_commodity, gnc_commodity_namespace, gnc_commodity_table, GNCPrice, GNCPriceDB, QofBook, QofSession, GncGUID, GncCustomer, GncEmployee, GncVendor, GncJob, GncAddress, GncBillTerm, GncTaxTable, GncInvoice, and GncEntry. GncOwner, the superclass of many of the business classes, is already covered. This allows more pythonic usage:
    <ul>
        <li>Call member functions directly, e.g. <code>price.get_commodity()</code> instead of using the C-function style <code>gc.gnc_price_get_commodity(price)</code></li>
        <li>The C-function call now raises a DeprecationWarning if called with a Python object but <em>not</em> if called with the instance, e.g. <code>gc.gnc_price_get_commodity(price.instance)</code></li>
        <li>It is no longer necessary to test and convert return values for being <code>SwigPyObjects</code> or not Python objects: Code like
            <pre>

if type(desc).name == 'SwigPyObject': desc = gnucash.Account(instance=desc) or if type(split) != Split: split=Split(instance=split) is no longer required. Enable copy-and-paste in Scheduled Transaction template transactions. Disable the Transaction Paste or Split Paste menu items in the register's Transaction menu when there is no transaction or split in the clipboard. Check all template transactions in a Scheduled Transaction for balance instead of only the first. Fix the last reconcile date sort in the Accounts page so that unreconciled accounts sort after reconciled ones instead of before. Ensure that custom report sub-menus can receive custom report entries. Import Matcher: Add trace messages to make it easier to track why some transactions aren't considered possible matches and uncomment the debug statements so that they can be emitted with --log arguments on the command line. Fix segfault in gnc_gsettings_get_settings_obj when GSettings schemas are not installed. Add tooltip explaining date-format selection to the CSV Import Assistant. CSV Importer: Reparse all import lines when changing date or currency formats or when setting base_account. [new-owner-report.scm] fix display/due-date tooltip Transaction report efficiency improvements. Ensure that gnc_commodity_compare produces a stable sort. Implement full test coverage of libgnucash/engine/qofid except for some unreachable code. Remove unused qof_collection_from_glist function. New function gnc_account_get_earliest_date returns the account's earliest split date. This usually reflects the account opening date. Provide an earliest-date sort option in the Accounts page and the balance-forecast report. Support 64-bit compilation on Windows. gnc_account_child_index: return -1 for non-child. Turn off deprecation warning for wstring_convert. It's deprecated in C++17 with no replacement until C++26. Update GncDateTime to handle new exceptions from Boost::DateTime Use std::chrono to create a GncDateTime. Boost::DateTime uses time_t and in some cases that's still 32-bit, leading to a potential 2038 bug. Fix GUI leaks in register completion cell, GncPluginPageRegister, and GNCPluginPageReport. [gnc-datetime.cpp] Fix potential bug in fast_iso8601_utc_parse

Help translate GnuCash on Weblate

View original

Upgraded? How did it go?

Discussion