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

Round as required.

parent a92ac956
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,8 @@
\n \n
total_price = invoice.getTotalPrice()\n total_price = invoice.getTotalPrice()\n
accounting_price = invoice.AccountingTransaction_getTotalCredit()\n accounting_price = invoice.AccountingTransaction_getTotalCredit()\n
\n precision = invoice.getPriceCurrencyValue().getQuantityPrecision()\n
return total_price == accounting\n return round(total_price, precision) == round(accounting_price, precision)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
377 378
\ No newline at end of file \ 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