diff --git a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/scripts/validateVaultBalance.xml b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/scripts/validateVaultBalance.xml index 09809acda666baca6867b1573b34c7750ddd2433..643c39e8cebf973ef844eb05f61c81f2039faef8 100644 --- a/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/scripts/validateVaultBalance.xml +++ b/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/scripts/validateVaultBalance.xml @@ -98,7 +98,7 @@ resource = transaction.CashDelivery_checkCounterInventory(source = source, porta \n # Get price and total_price.\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 if resource == 3:\n msg = Message(domain="ui", message="No banknote or coin defined.")\n