gnucash unstable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Fri Mar 30 17:21:00 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/4601cfcb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5922cbbc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7cfb48fe (commit)
	 via  https://github.com/Gnucash/gnucash/commit/84ab44bf (commit)
	from  https://github.com/Gnucash/gnucash/commit/c141edd9 (commit)



commit 4601cfcbc3123378b2b90efdd5fdc5c26ce9f5ae
Merge: c141edd 5922cbb
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Mar 30 14:16:30 2018 -0700

    Merge Chris Lam's Bug 792800 Pull Request into unstable.

commit 5922cbbc4b4c83412df20d2a673d2e9460bdb7e9
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Mar 29 20:16:01 2018 +0800

    invoice, easy-invoice.scm: %discount from html-table to string
    
    Old code would nest a small single-row, 2-column html-table within the
    entry-list html-table to display discount percentage and '%'. This is
    an overkill and causes alignment issues. Display a string instead.

commit 7cfb48fea37231005b3c311eb1f4f9ced7417bda
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Mar 27 22:01:50 2018 +0800

    TR: Price Column shown in commodity SCU
    
    xaccSplitGetSharePrice will typically return a gnc-numeric (or scm
    rational) value. This leads to the TR showing a price of, eg. $22 +
    12228521/25349850 which is not ideal. This commit will modify the
    share price to round the exact rational to an inexact decimal
    according to the account share price currency SCU. If the SCU is less
    than 10000, increase the precision by 2 significant digits.

commit 84ab44bfb6968670f68d68a52356c48dfd1404a0
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Mar 26 22:40:30 2018 +0800

    Bug 792800 - Advanced Portfolio Report tries to divide by zero balance and aborts.
    
    This fixes a numerical-overflow error identified in bug 792800. It is
    related to negative-stock-balance situation.



Summary of changes:
 gnucash/report/business-reports/easy-invoice.scm   | 14 +------
 gnucash/report/business-reports/invoice.scm        | 14 +------
 .../report/standard-reports/advanced-portfolio.scm | 44 +++++++++++++++-------
 gnucash/report/standard-reports/transaction.scm    | 19 +++++++---
 4 files changed, 46 insertions(+), 45 deletions(-)



More information about the gnucash-patches mailing list