[Erp5-report] r8743 - in /erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_work...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jul 25 15:29:00 CEST 2006
Author: aurel
Date: Tue Jul 25 15:28:57 2006
New Revision: 8743
URL: http://svn.erp5.org?rev=8743&view=rev
Log:
fix some workflow script
Modified:
erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/account_incident_workflow/scripts/checkConsistency.xml
erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_sorting_incident_workflow/scripts/checkConsistency.xml
Modified: erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/account_incident_workflow/scripts/checkConsistency.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/account_incident_workflow/scripts/checkConsistency.xml?rev=8743&r1=8742&r2=8743&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/account_incident_workflow/scripts/checkConsistency.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/account_incident_workflow/scripts/checkConsistency.xml Tue Jul 25 15:28:57 2006
@@ -73,12 +73,12 @@
from Products.ERP5Type.Message import Message\n
\n
txn = state_change[\'object\']\n
-in_list = txn.searchFolder(portal_type=\'Incoming Cash Incident Line\')\n
-out_list = txn.searchFolder(portal_type=\'Outgoing Cash Incident Line\')\n
+in_list = txn.searchFolder(portal_type=\'Incoming Account Incident Line\')\n
+out_list = txn.searchFolder(portal_type=\'Outgoing Account Incident Line\')\n
\n
price = txn.getSourceTotalAssetPrice()\n
-in_price = txn.getTotalPrice(deliveryLineType=\'Incoming Cash Incident Line\')\n
-out_price = txn.getTotalPrice(deliveryLineType=\'Outgoing Cash Incident Line\')\n
+in_price = txn.getTotalPrice(deliveryLineType=\'Incoming Account Incident Line\')\n
+out_price = txn.getTotalPrice(deliveryLineType=\'Outgoing Account Incident Line\')\n
\n
if len(in_list) != 0 and len(out_list) != 0:\n
msg = Message(domain = "ui", message="You can\'t have excess and deficit on the document.")\n
Modified: erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_sorting_incident_workflow/scripts/checkConsistency.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_sorting_incident_workflow/scripts/checkConsistency.xml?rev=8743&r1=8742&r2=8743&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_sorting_incident_workflow/scripts/checkConsistency.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_sorting_incident_workflow/scripts/checkConsistency.xml Tue Jul 25 15:28:57 2006
@@ -73,12 +73,12 @@
from Products.ERP5Type.Message import Message\n
\n
txn = state_change[\'object\']\n
-in_list = txn.searchFolder(portal_type=\'Incoming Cash Incident Line\')\n
-out_list = txn.searchFolder(portal_type=\'Outgoing Cash Incident Line\')\n
+in_list = txn.searchFolder(portal_type=\'Incoming Cash Sorting Incident Line\')\n
+out_list = txn.searchFolder(portal_type=\'Outgoing Cash Sorting Incident Line\')\n
\n
price = txn.getSourceTotalAssetPrice()\n
-in_price = txn.getTotalPrice(deliveryLineType=\'Incoming Cash Incident Line\')\n
-out_price = txn.getTotalPrice(deliveryLineType=\'Outgoing Cash Incident Line\')\n
+in_price = txn.getTotalPrice(deliveryLineType=\'Incoming Cash Sorting Incident Line\')\n
+out_price = txn.getTotalPrice(deliveryLineType=\'Outgoing Cash Sorting Incident Line\')\n
\n
if len(in_list) != 0 and len(out_list) != 0:\n
msg = Message(domain = "ui", message="You can\'t have excess and deficit on the document.")\n
More information about the Erp5-report
mailing list