From 517c49bd2d039c491e85eaaca18fe427d6e4a333 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Thu, 5 Apr 2007 13:50:33 +0000 Subject: [PATCH] added missing imports git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13980 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../CheckbookDelivery_checkAggregateStockList.xml | 11 ++++++++--- bt5/erp5_banking_check/bt/revision | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_checkAggregateStockList.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_checkAggregateStockList.xml index b7b95ce735..eb7780dba9 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_checkAggregateStockList.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_checkAggregateStockList.xml @@ -65,7 +65,10 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>current_tracking_list = [x.getObject() for x in context.portal_simulation.getCurrentTrackingList(\n + <value> <string>from Products.DCWorkflow.DCWorkflow import ValidationFailed\n +from Products.ERP5Type.Message import Message\n +\n +current_tracking_list = [x.getObject() for x in context.portal_simulation.getCurrentTrackingList(\n at_date=at_date, node=node_url,\n where_expression="item_catalog.portal_type=\'Check\' or item_catalog.portal_type=\'Checkbook\'")]\n aggregate_uid_list = [x.uid for x in current_tracking_list]\n @@ -126,6 +129,10 @@ for line in context.getMovementList():\n <tuple> <string>node_url</string> <string>at_date</string> + <string>Products.DCWorkflow.DCWorkflow</string> + <string>ValidationFailed</string> + <string>Products.ERP5Type.Message</string> + <string>Message</string> <string>append</string> <string>$append0</string> <string>_getiter_</string> @@ -138,9 +145,7 @@ for line in context.getMovementList():\n <string>aggregate_uid</string> <string>_getitem_</string> <string>aggregate_value</string> - <string>Message</string> <string>msg</string> - <string>ValidationFailed</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision index 4701cc7931..2d73b5e3ba 100644 --- a/bt5/erp5_banking_check/bt/revision +++ b/bt5/erp5_banking_check/bt/revision @@ -1 +1 @@ -150 \ No newline at end of file +152 \ No newline at end of file -- 2.30.9