Op 09-08-11 08:44, Mikko Ohtamaa schreef:
It is probably called by processForm(), at_post_create() or whatever
happens to be your magical AT function today what you should call
after invokeFactory().

my_new_object.processForm() should do the trick indeed.

Or fire the event yourself:

from zope.event import notify
from Products.Archetypes.event import ObjectInitializedEvent
notify(ObjectEditedEvent(my_new_object))



--
Maurits van Rees
Web App Programmer at Zest Software: http://zestsoftware.nl
Personal website: http://maurits.vanrees.org/

_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to