From 65adc00fea772a75bd67f62d14504802b461461c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Mon, 3 Aug 2009 11:49:20 +0000
Subject: [PATCH]  - use category accessor

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28244 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/BPMRule.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/BPMRule.py b/product/ERP5/Document/BPMRule.py
index cb7d8d3194..23c0dd6e10 100644
--- a/product/ERP5/Document/BPMRule.py
+++ b/product/ERP5/Document/BPMRule.py
@@ -188,7 +188,7 @@ class BPMRule(Predicate, XMLObject):
     business_path_list = []
     for input_movement in input_movement_list:
       for business_path in business_process.getPathValueList(
-                          self.getProperty('trade_phase_list'),
+                          self.getTradePhaseList(),
                           input_movement):
         input_movement_and_path_list.append((input_movement, business_path))
         business_path not in business_path_list and business_path_list \
-- 
2.30.9