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

Rafael Monnerat rafael at nexedi.com
Thu Aug 6 01:19:36 CEST 2009


Hi,

I'm very happy that you are using the tutorials/guides available at the 
wiki.

Please, feel free to fix or improve the tutorial when you think that is 
required, you can create one account at the wiki and edit the tutorial.  
I will be very happy if you can test try more parts of our documentation 
and give a bit of feedback to us like this case.

Regards,

Brice Leroy wrote:
> Ok, I think I found the issue, The rule default_production_order_rule
> did exist in fact but was in draft state. After validating it
> ( http://192.168.1.144/erp5/portal_rules/default_production_order_rule/Rule_view) , I went to the portal activity and invoke the blocked rules... it expands in many other new activities and ends up with no more activity in queue !!! I feel like a million bucks :) This state change should be added to your tutorial.
>
>
> On Wed, 2009-08-05 at 11:15 -0700, Brice Leroy wrote:
>   
>> 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
>> _______________________________________________
>> Erp5-users mailing list
>> Erp5-users at erp5.org
>> http://mail.nexedi.com/mailman/listinfo/erp5-users
>>     


-- 
Rafael Manhães Monnerat, Nexedi Developer - Tel. +55 (22) 8808 8500
ERP5 Enterprise: Free / Open Source ERP for Critical Applications 
http://www.erp5.com 
Tio Live: Hosted Open Source ERP for small companies 
http://www.tiolive.com
Nexedi: Consulting and Development of Free / Open Source Software 
http://www.nexedi.com




More information about the Erp5-users mailing list