Commit eb31529e authored by Kevin Deldycke's avatar Kevin Deldycke

Use kw as the unique entry parameter.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6420 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 588383ea
......@@ -68,6 +68,8 @@
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
src__ = 0\n
if kw.has_key(\'src__\'): src__ = kw[\'src__\']\n
precision = context.Base_getPreferredPrecision()\n
r_ = lambda x: context.Base_getRoundValue(x, precision)\n
\n
......@@ -195,7 +197,7 @@ return new_result\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>selection, src__=0, **kw</string> </value>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -215,16 +217,16 @@ return new_result\n
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>2</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>selection</string>
<string>src__</string>
<string>kw</string>
<string>src__</string>
<string>_getattr_</string>
<string>_getitem_</string>
<string>context</string>
<string>precision</string>
<string>r_</string>
......@@ -236,7 +238,6 @@ return new_result\n
<string>params</string>
<string>None</string>
<string>_write_</string>
<string>_getitem_</string>
<string>new_result</string>
<string>net_balance</string>
<string>get_inventory_kw</string>
......@@ -263,9 +264,7 @@ return new_result\n
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<int>0</int>
</tuple>
<none/>
</value>
</item>
<item>
......
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