<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Hi!<BR>
<BR>
I am trying to implement the ERP5 Trade as per the instructions in the howto on the ERP5 LiveCD rc9 without the updated products from svn.<BR>
<BR>
When I reach the &quot;<B><FONT SIZE="4">Change the state of order 000001</FONT></B>&quot; step, no applied rule is created, nor any object in portal_simulation and the the log returns the following error:<BR>
<BR>
2006-05-12T13:57:34 INFO(0) WARNING ActivityTool Could not call method updateAppliedRule on object ('', 'erp5_trade', 'order_module', '5')<BR>
Traceback (most recent call last):<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/CMFActivity/ActivityTool.py&quot;, line 145, in __call__<BR>
&nbsp;&nbsp;&nbsp; result = getattr(obj, self.method_id)(*self.args, **self.kw)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/ERP5/Document/Order.py&quot;, line 145, in updateAppliedRule<BR>
&nbsp;&nbsp;&nbsp; Delivery.updateAppliedRule(self, rule_id, force=force,**kw)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/ERP5/Document/Delivery.py&quot;, line 550, in updateAppliedRule<BR>
&nbsp;&nbsp;&nbsp; self._createAppliedRule(rule_id,force=force,**kw)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/ERP5/Document/Delivery.py&quot;, line 574, in _createAppliedRule<BR>
&nbsp;&nbsp;&nbsp; my_applied_rule = portal_rules[rule_id].\<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/ERP5/Document/Rule.py&quot;, line 92, in constructNewAppliedRule<BR>
&nbsp;&nbsp;&nbsp; context.newContent(id=id, portal_type='Applied Rule', specialise_value=self,**kw)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/ERP5Type/Document/Folder.py&quot;, line 85, in newContent<BR>
&nbsp;&nbsp;&nbsp; is_indexable=is_indexable<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py&quot;, line 930, in constructContent<BR>
&nbsp;&nbsp;&nbsp; ob = info.constructInstance(container, id, *args, **kw)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/ERP5Type/ERP5Type.py&quot;, line 182, in constructInstance<BR>
&nbsp;&nbsp;&nbsp; ob = FactoryTypeInformation.constructInstance(<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py&quot;, line 340, in constructInstance<BR>
&nbsp;&nbsp;&nbsp; ob = self._constructInstance(container, id, *args, **kw)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py&quot;, line 571, in _constructInstance<BR>
&nbsp;&nbsp;&nbsp; newid = m(id, *args, **kw)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/ERP5Type/Utils.py&quot;, line 322, in __call__<BR>
&nbsp;&nbsp;&nbsp; folder._setObject(id, o)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/Products/BTreeFolder2/BTreeFolder2.py&quot;, line 419, in _setObject<BR>
&nbsp;&nbsp;&nbsp; object.manage_fixupOwnershipAfterAdd()<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/AccessControl/Owned.py&quot;, line 254, in manage_fixupOwnershipAfterAdd<BR>
&nbsp;&nbsp;&nbsp; self.changeOwnership(user)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/AccessControl/Owned.py&quot;, line 144, in changeOwnership<BR>
&nbsp;&nbsp;&nbsp; new=ownerInfo(user)<BR>
&nbsp; File &quot;/usr/lib/zope/lib/python/AccessControl/Owned.py&quot;, line 284, in ownerInfo<BR>
&nbsp;&nbsp;&nbsp; db=user.aq_inner.aq_parent<BR>
AttributeError: aq_inner<BR>
<BR>
and upon 'google'ing I found a problem/solution pair here:<BR>
<A HREF="http://mail.zope.org/pipermail/zope/2002-February/109619.html">http://mail.zope.org/pipermail/zope/2002-February/109619.html</A><BR>
<BR>
I am not sure whether it is valid and/or how to apply it.<BR>
 <BR>
Am I required to checkout the latest Products or do you feel that it is not required. I am a bit averse to checking out the latest due to some constraints on the test machine.<BR>
<BR>
Any advice in this regard shall be highly appreciated. <BR>
<BR>
-SB
</BODY>
</HTML>