Commit dc7d278b authored by Sebastien Robin's avatar Sebastien Robin

specify both line and cell with the parameter fast=0

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10492 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05212ee5
No related merge requests found
...@@ -98,7 +98,7 @@ resource = transaction.CashDelivery_checkCounterInventory(source = source, porta ...@@ -98,7 +98,7 @@ resource = transaction.CashDelivery_checkCounterInventory(source = source, porta
\n \n
# Get price and total_price.\n # Get price and total_price.\n
price = transaction.getSourceTotalAssetPrice()\n price = transaction.getSourceTotalAssetPrice()\n
cash_detail = transaction.getTotalPrice(portal_type = \'Cash Delivery Cell\', fast=0)\n cash_detail = transaction.getTotalPrice(portal_type = (\'Cash Delivery Line\',\'Cash Delivery Cell\'), fast=0)\n
#transaction.log("price vs cash detail", str((price, cash_detail)))\n #transaction.log("price vs cash detail", str((price, cash_detail)))\n
if resource == 3:\n if resource == 3:\n
msg = Message(domain="ui", message="No banknote or coin defined.")\n msg = Message(domain="ui", message="No banknote or coin defined.")\n
......
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