Topic: Journal Entries Round to 2 decimal places on add, not update
We need 8 decimal places for GL entries and despite setting the precision adding a new journal entry always rounded to 2 places.
If we go back and update the entry, then the full number would stay.
In includes/ui/items_cart.inc, the definition for class gl_item ignores the user precision at line 535 (line 534 in the GitMaster):
$this->amount = round($amount, 2);
Whereas the function update_gl_item does not round (line 161):
$this->gl_items[$index]->amount = $amount;
I've hacked the file, but would probably be better to update -- not sure where to submit a pull request on sourceforge.
Thanks!