slapos_erp5: Only edit if the document isMemberOf
Factorize script to make easier projects slow roll migration or use activities in case the object removed contains way too many related objects.
Factorize script to make easier projects slow roll migration or use activities in case the object removed contains way too many related objects.