[Erp5-dev] Deleted - how to make invisible?

Jean-Paul Smets jp at nexedi.com
Wed Jun 27 06:51:44 CEST 2007


Shresth K a écrit :
> Thanks. Is there a plan to modify all standard/default workflows to
> have the
> delete_action? If yes, then I can try and submit a patch for the same.
>
Yes, there is such a plan to review all standard workflows so that they
meet all rules and guidelines.

JPS.

> Shresth
>
> On 27/06/07, bartek <bartek at erp5.pl> wrote:
>>
>> Shresth K wrote:
>> > Hello,
>> >
>> > With reference to the mail
>> > http://www.erp5.org/pipermail/erp5-dev/2006-September/000678.html
>> >
>> >     Here is the rule we are going towards after much discusion:
>> >
>> >       1- objects which are handled by workflows can not be deleted:
>> deletion is
>> >     part of the workflow (ie. the document lifecycle) and must
>> therefore
>> be
>> >     implemented by a workflow action which may for example move the
>> object to
>> >
>> >     an "archived" state (invisible)
>> >
>> > I have managed to get the first part working and objects with
>> workflows
>> > can now be marked as 'Deleted'. But, where is the magic for the
>> > "archival" or "invisible" happening? In the context of Business
>> > templates, I can see that the objects marked as 'Deleted' are no
>> longer
>> > visible but  how and where is the logic/code for the same, remains a
>> > mystery. Any pointers in this direction shall be most welcome.
>>
>> Security - workflow in deleted state can take 'view' permissions away
>> from you (even from Manager), so it disappears from all listboxes.
>>
>> B.
>>
>> >
>> > Thanks,
>> > Shresth
>> >
>> >
>> >
>> ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Erp5-dev mailing list
>> > Erp5-dev at erp5.org
>> > http://erp5.org/mailman/listinfo/erp5-dev
>>
>>
>> -- 
>> "feelings affect productivity. (...) unhappy people write worse
>> software, and less of it."
>> Karl Fogel, "Producing Open Source Software"
>> _______________________________________________
>> Erp5-dev mailing list
>> Erp5-dev at erp5.org
>> http://erp5.org/mailman/listinfo/erp5-dev
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://erp5.org/mailman/listinfo/erp5-dev
>   




More information about the Erp5-dev mailing list