<!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.26.0">
</HEAD>
<BODY>
After reading the logs (I should maybe started with that...) I discover that something was missing:<BR>
<BR>
2009-08-05T11:13:41 WARNING ActivityTool Could not call method updateAppliedRule on object ('', 'erp5', 'production_order_module', '1'). Activity created at:<BR>
None<BR>
Traceback (most recent call last):<BR>
&nbsp; File &quot;/var/lib/erp5/Products/CMFActivity/ActivityTool.py&quot;, line 294, in __call__<BR>
&nbsp;&nbsp;&nbsp; result = method(*self.args, **self.kw)<BR>
&nbsp; File &quot;/var/lib/erp5/Products/ERP5/Document/Order.py&quot;, line 150, in updateAppliedRule<BR>
&nbsp;&nbsp;&nbsp; rule_reference=rule_reference, **kw)<BR>
&nbsp; File &quot;/var/lib/erp5/Products/ERP5/Document/Delivery.py&quot;, line 683, in updateAppliedRule<BR>
&nbsp;&nbsp;&nbsp; return updateAppliedRule(*args, **kw)<BR>
&nbsp; File &quot;/var/lib/erp5/Products/ERP5Type/UnrestrictedMethod.py&quot;, line 97, in __call__<BR>
&nbsp;&nbsp;&nbsp; return self._m(*args, **kw)<BR>
&nbsp; File &quot;/var/lib/erp5/Products/ERP5/Document/Delivery.py&quot;, line 709, in _updateAppliedRule<BR>
&nbsp;&nbsp;&nbsp; raise NotFound('No such rule as %r is found' % (rule_reference,))<BR>
NotFound: No such rule as 'default_production_order_rule' is found<BR>
<BR>
Is there any guide on how to create this object ?<BR>
<BR>
On Wed, 2009-08-05 at 10:49 -0700, Brice Leroy wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hello,
  I'm following your tutorial for MRP and I got stuck at the same action
for the second time - I reinstall my erp5 site 2 times to make sure it
wasn't my mistake - but when I set my Production Order status to
&quot;Ordered&quot;, an activity stays in the queue forever:


Uid: &quot;649 (dict)&quot;
Object: &quot;/erp5/production_order_module/1&quot; 
Method Id: &quot;updateAppliedRule&quot;
- Activity Kw: &quot;'tag':
'/erp5/production_order_module/1_firstUpdateAppliedRule'&quot;
- Arguments: &quot;&quot;
- Named Parameters: &quot;'rule_reference': 'default_production_order_rule',
'activate_kw': {'priority': 3,
'tag':'/erp5/production_order_module/1_firstUpdateAppliedRule'}&quot;
- Processing Node: &quot;-2&quot;
Priority Processing: &quot;6&quot;
Call traceback: &quot;&quot;

Do you have any idea why this rule is not working ? Is there any new
necessary field not indicated on the wiki ?

</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Brice Leroy | IT Department | Fulham Co. Inc. 

12705 S. Van Ness Ave. 
Hawthorne, CA 90250 

phone: (323) 779 2980 x1208
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>