Commit 44af7aa2 authored by Jérome Perrin's avatar Jérome Perrin

Resource_lookupPrice doesn't exists, remove the comment.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9123 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 933be97b
...@@ -70,8 +70,7 @@ ...@@ -70,8 +70,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>resource = context.getResourceValue()\n <value> <string>resource = context.getResourceValue()\n
if resource is not None:\n if resource is not None:\n
#return resource.getBasePrice(0)/resource.getPricedQuantity()\n return resource.getPrice(context=context)\n
return resource.getPrice(context=context) # calls a Resource_lookupPrice itself\n
else:\n else:\n
return None\n return None\n
</string> </value> </string> </value>
......
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