1.9 release notes

Submitted by ehu on Sun, 12/15/2019 - 04:28

This is Draft content, written for functionality that is in development and may not yet be released.

What's new and notable in LedgerSMB 1.9

  • E-mailed documents stored in the database
  • Searching open invoices for payment by customer/vendor name
  • A new command line application for administrative tasks and automation
  • "GIFI" selections are now hidden when no GIFI is configured
  • Option to create opening or closing balance report
  • Fixed mailing of aging reports
  • 'Update' no longer clobbers saved invoices and transactions
  • Optimized HTML and JavaScript responses for faster page loading

New features

E-mailed documents stored in the database

.

Searching open invoices for payment by customer/vendor name

.

A new command line application for administrative tasks and automation

.

"GIFI" selections are now hidden when no GIFI is configured

.

Option to create opening or closing balance report

.

Notable changes

Fixed mailing of aging reports

.

'Update' no longer clobbers saved invoices and transactions

.

Optimized HTML and JavaScript responses for faster page loading

.

Other user-visible changes

  • Document template (invoices/orders/etc..) management UI overhaul
    The new UI is located under the menu "System > Templates". The menu-items listing each template separately, has been removed.
  • Default "today" value now derived from client instead of server
    Due to the fact that the value was derived from the server, the default date ("today") could be off by a day when the client and server resided in different timezones. The new value is determined on the client, ensuring alignment between the user's location and the calculation of the date.
  • Manually entered tax lines from invoices selectively saved
    Before this release, all manually entered tax lines would be saved; even if the tax amount as well as the base amount (the amount the tax relates to) are zero. This release doesn't save lines anymore where both values are zero. Old data where both values are zero remains untouched.
  • Single-entry time cards have been fixed
    The (broken-since-1.4) single-entry time cards have been fixed.

 

Known problems

Authentication problems immediately after logging in

1.8 uses encrypted cookies. The secret used to encrypt the cookie is automatically generated when the application is loaded. Starman (and other forking PSGI servers) loads the application in each process separately. This leads to each process generating its own cookie secret; this means that cookies from one request handling process will be rejected by other request handlers, leading to the behaviour observed. Please include the --preload-app option to the Starman command-line to prevent this problem.

The example systemd and SysV init scripts in the 1.8 release tarball have this parameter enabled out of the box. Please note that this parameter wasn't present in the example configuration scripts of 1.7 and earlier. When upgrading, please check your specific version.

[Upgrade] ERROR: duplicate key value violates unique constraint "ar_invnumber_key"

After upgrading, users can run into this error, which means that the "Sales Invoice/AR Transaction Number" in the "System > Defaults" page under the "Next in Sequence" section needs to be manually incremented by 1. Admins may want to verify ahead of moving the upgrade to production that the other sequences do not contain the last-used number, but indeed list the next number to be used.

Sequences on the "System > Defaults" page

 

Release