[Erp5-users] 2nd issue with the MRP Scenario

Brice Leroy bleroy at fulham.com
Wed Aug 5 20:15:37 CEST 2009


After reading the logs (I should maybe started with that...) I discover
that something was missing:

2009-08-05T11:13:41 WARNING ActivityTool Could not call method
updateAppliedRule on object ('', 'erp5', 'production_order_module',
'1'). Activity created at:
None
Traceback (most recent call last):
  File "/var/lib/erp5/Products/CMFActivity/ActivityTool.py", line 294,
in __call__
    result = method(*self.args, **self.kw)
  File "/var/lib/erp5/Products/ERP5/Document/Order.py", line 150, in
updateAppliedRule
    rule_reference=rule_reference, **kw)
  File "/var/lib/erp5/Products/ERP5/Document/Delivery.py", line 683, in
updateAppliedRule
    return updateAppliedRule(*args, **kw)
  File "/var/lib/erp5/Products/ERP5Type/UnrestrictedMethod.py", line 97,
in __call__
    return self._m(*args, **kw)
  File "/var/lib/erp5/Products/ERP5/Document/Delivery.py", line 709, in
_updateAppliedRule
    raise NotFound('No such rule as %r is found' % (rule_reference,))
NotFound: No such rule as 'default_production_order_rule' is found

Is there any guide on how to create this object ?

On Wed, 2009-08-05 at 10:49 -0700, Brice Leroy wrote:

> 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 ?
> 

-- 
Brice Leroy | IT Department | Fulham Co. Inc. 

12705 S. Van Ness Ave. 
Hawthorne, CA 90250 

phone: (323) 779 2980 x1208
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20090805/94f5c8f2/attachment.htm>


More information about the Erp5-users mailing list