Hello everybody,
I'm trying to change by hand the state of a document of my
portal_catalog.
I have been searching and i found this:
workflow.doActionFor(object, 'new_state')
but it returns an error: *** Unauthorized: You are not allowed to access
'toNone' in this context
Why? there are any other way to change the state of a document?
Thanks.
Jose Jiménez López
Becario de Sistemas
FUNDACIÓN IAVANTE
[EMAIL PROTECTED]
Tel. 958 00 22 63
Este correo electrónico y, en su caso, cualquier fichero anexo, contiene
información confidencial exclusivamente dirigida a su(s)
destinatario(s). Toda copia o divulgación deberá ser autorizada por
IAVANTE.
This e-mail and any attachments are confidential and exclusively
directed to its adressee(s). Any copy or distribution will have to be
authorized by IAVANTE.
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel