<!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>
File "/var/lib/erp5/Products/CMFActivity/ActivityTool.py", line 294, in __call__<BR>
result = method(*self.args, **self.kw)<BR>
File "/var/lib/erp5/Products/ERP5/Document/Order.py", line 150, in updateAppliedRule<BR>
rule_reference=rule_reference, **kw)<BR>
File "/var/lib/erp5/Products/ERP5/Document/Delivery.py", line 683, in updateAppliedRule<BR>
return updateAppliedRule(*args, **kw)<BR>
File "/var/lib/erp5/Products/ERP5Type/UnrestrictedMethod.py", line 97, in __call__<BR>
return self._m(*args, **kw)<BR>
File "/var/lib/erp5/Products/ERP5/Document/Delivery.py", line 709, in _updateAppliedRule<BR>
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
"Ordered", an activity stays in the queue forever:
Uid: "649 (dict)"
Object: "/erp5/production_order_module/1"
Method Id: "updateAppliedRule"
- Activity Kw: "'tag':
'/erp5/production_order_module/1_firstUpdateAppliedRule'"
- Arguments: ""
- Named Parameters: "'rule_reference': 'default_production_order_rule',
'activate_kw': {'priority': 3,
'tag':'/erp5/production_order_module/1_firstUpdateAppliedRule'}"
- Processing Node: "-2"
Priority Processing: "6"
Call traceback: ""
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>