[GNC-dev] Bug 794755

chris graves mohavebaked at gmail.com
Tue Jul 10 14:12:56 EDT 2018


Regarding bug https://bugs.gnucash.org/show_bug.cgi?id=794755

I was able to resolve this issue as follows: 
in split-register-model.c/gnc_split_register_get_price_entry()
add the following line:

    price = gnc_numeric_convert (price, gnc_commodity_get_fraction (gnc_default_currency ()), GNC_HOW_RND_ROUND_HALF_UP);

just before this line:
    return xaccPrintAmount (price, gnc_default_price_print_info ());

Not sure if this is the correct fix, nor if you want me mucking with the github repo, but at least this may be a pointer in the right direction on where to resolve the issue.

Chris


More information about the gnucash-devel mailing list