Commit 72b6dfbc authored by Łukasz Nowak's avatar Łukasz Nowak

Round as required.

parent a92ac956
......@@ -54,8 +54,8 @@
\n
total_price = invoice.getTotalPrice()\n
accounting_price = invoice.AccountingTransaction_getTotalCredit()\n
\n
return total_price == accounting\n
precision = invoice.getPriceCurrencyValue().getQuantityPrecision()\n
return round(total_price, precision) == round(accounting_price, precision)\n
</string> </value>
</item>
<item>
......
377
\ No newline at end of file
378
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment