Commit b133cf8d authored by Yoshinori Okuji's avatar Yoshinori Okuji

2010-05-18 yo

* Have Base_getSpecialisedAggregatedAmountList to pass the parameter rounding to getAggregatedAmountList. It defaults to True, as this method is used for UI, and rounding should be applied in the UI in most cases.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35411 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0680a972
......@@ -56,7 +56,8 @@
<value> <string>specialise = context.getSpecialiseValue(portal_type=(\'Purchase Trade Condition\',\'Sale Trade Condition\'))\n
\n
if specialise is not None:\n
return specialise.getAggregatedAmountList(context)\n
rounding = kwargs.get(\'rounding\', True)\n
return specialise.getAggregatedAmountList(context, rounding=rounding)\n
\n
return []\n
</string> </value>
......@@ -101,6 +102,8 @@ return []\n
<string>context</string>
<string>specialise</string>
<string>None</string>
<string>True</string>
<string>rounding</string>
</tuple>
</value>
</item>
......
2010-05-18 yo
* Have Base_getSpecialisedAggregatedAmountList to pass the parameter rounding to getAggregatedAmountList. It defaults to True, as this method is used for UI, and rounding should be applied in the UI in most cases.
2010-05-17 yo
* Inventory Line and Inventory Cell are not invoice movements.
......
923
\ No newline at end of file
924
\ 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