[GNC-dev] Bug 794755

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[GNC-dev] Bug 794755

chris graves
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.

gnucash-devel mailing list
[hidden email]