From 6777644649bac84913d8d3dae2d685e674562761 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Fri, 27 Jul 2007 16:47:30 +0000 Subject: [PATCH] getSourceTrade is not the current site when docyument is sent to headquaters, so after all it's getSource which must be used. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15370 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../mutilated_banknote_workflow/transitions/deliver_action.xml | 2 +- .../mutilated_banknote_workflow/transitions/plan_action.xml | 2 +- bt5/erp5_banking_cash/bt/revision | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/transitions/deliver_action.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/transitions/deliver_action.xml index dec644309e..4e26e18352 100644 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/transitions/deliver_action.xml +++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/transitions/deliver_action.xml @@ -102,7 +102,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python: "siege" not in here.getSourceTrade("")</string> </value> + <value> <string>python: "siege" not in here.getSource("")</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/transitions/plan_action.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/transitions/plan_action.xml index 8c63746713..9e8ffc5279 100644 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/transitions/plan_action.xml +++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/transitions/plan_action.xml @@ -102,7 +102,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python: "siege" not in here.getSourceTrade("")</string> </value> + <value> <string>python: "siege" not in here.getSource("")</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision index 662d98cc92..2738497468 100644 --- a/bt5/erp5_banking_cash/bt/revision +++ b/bt5/erp5_banking_cash/bt/revision @@ -1 +1 @@ -436 \ No newline at end of file +439 \ No newline at end of file -- 2.30.9