hello,
Workflow are usualy defined with "on_create=true", meaning the workflow start at the ressource creation. here, I think it is set to false, so the workflow might be created. The piece of code create the workflow for the ressouce when it goes in 'draft' state: 1-get the workflow service 2-ask the service to create the workflow for the given ressource doc: http://openerp.com/wiki/index.php/Developers:Developper%27s_Book/Workflows/WkfDefIntro/WorkflowActivity _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
