[Erp5-dev] New transition in edit_workflow ?
Alexandre Boeglin
alex at nexedi.com
Wed Nov 24 16:29:29 CET 2004
Le mercredi 24 Novembre 2004 16:04, Yoshinori Okuji a écrit :
> As you know, edit_workflow is used for many portal types, and it is
> triggered each time when you save a document. If you require the user
> to do one more step even when the user simply wants to fix a typo, it
> is too irritating. For software development, this kind of feature is
> useful, but this is very inefficient for data management.
Actually, when Jean Paul proposed this, the goal was only to track the
object from the begining, so that we can see how the object was created
(which object it was copied from, in our case).
Of course, I didn't modify the 'edit' transition, which is still
transparent to the user. Maybe the "_action" part of the name was
confusing... but in fact, these two transitions are completely
independant.
> BTW, do you need to have such a comment by using a workflow really?
> Doesn't it fit into a description of an object instead?
Well, I think we could see this as a deeper trace of objects' lifes.
Then, when there is a mistake in a copied object, we can easily check
is the mistake was made in the source object or in its copy.
In this way, the information belongs to the history workflows, and not
only to the description.
What are your feelings about this?
Regards,
Alex
More information about the Erp5-dev
mailing list