[Erp5-report] r34672 kazuhiko - /erp5/trunk/products/ERP5/Document/BusinessPath.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 20 11:16:25 CEST 2010
Author: kazuhiko
Date: Tue Apr 20 11:16:23 2010
New Revision: 34672
URL: http://svn.erp5.org?rev=34672&view=rev
Log:
use path of applied rule here to use as "'%s/%%' % applied_rule".
Modified:
erp5/trunk/products/ERP5/Document/BusinessPath.py
Modified: erp5/trunk/products/ERP5/Document/BusinessPath.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessPath.py?rev=34672&r1=34671&r2=34672&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessPath.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessPath.py [utf8] Tue Apr 20 11:16:23 2010
@@ -380,10 +380,9 @@
delivery_uid=[x.getUid() for x in explanation.getMovementList()])
for simulation_movement in delivery_simulation_movement_list:
- applied_rule = simulation_movement.getRootAppliedRule()
+ applied_rule = simulation_movement.getRootAppliedRule().getPath()
if applied_rule not in root_applied_rule_list:
- root_applied_rule_list.append(
- simulation_movement.getRootAppliedRule())
+ root_applied_rule_list.append(applied_rule)
simulation_movement_list = portal_catalog(
portal_type='Simulation Movement', causality_uid=self.getUid(),
More information about the Erp5-report
mailing list