Commit 3399ce16 authored by Jérome Perrin's avatar Jérome Perrin

Set currency precision in Payment Transaction Group view

parent a2a9dc2f
......@@ -59,6 +59,11 @@ search_kw = dict(\n
node_category=\'account_type/asset/cash/bank\',\n
)\n
\n
if context.getSourcePayment():\n
precision = context.getQuantityPrecisionFromResource(\n
context.getSourcePaymentValue().getPriceCurrency())\n
portal.REQUEST.set(\'precision\', precision)\n
\n
return portal.portal_simulation.getMovementHistoryList(**search_kw)\n
</string> </value>
</item>
......
28
\ No newline at end of file
29
\ 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