[Erp5-dev] processing relations when deleting an object
bartek
bartek at erp5.pl
Sat Nov 10 15:42:02 CET 2007
Hello
Currently when an object to which some other objects are related is
being deleted the system blocks the operation; however, there may be
situtations when we'd like to do something else - like, edit relations
so that the objects are no longer related, or delete all the related
objects in a 'cascading' way.
I need something like this now, so the question is, what would be a
clean way to implement such a feature? Perhaps it could be a kind of a
configurable interaction, but which would be executed before
Object_hasRelation does its checks (I experimented with interaction
workflow, but if there are related objects that stage is not even reached).
What would you advise?
Bartek
--
"feelings affect productivity. (...) unhappy people write worse
software, and less of it."
Karl Fogel, "Producing Open Source Software"
More information about the Erp5-dev
mailing list