erp5_web_renderjs_ui: available to delete item
Showing
-
@xiaowu.zhang , @romain, Please review this patch or revert it very quickly (to let time to do better implementation). The action portal_actions/delete_document.xml is making any site unusable, on many objects it start counting getRelationCountForDeletion, and this makes looking at all childs, you could imagine the result on a module with millions of documents. Also calling Base_getWorkflowHistory for such purpose looks like a performance issue (this will fetch all history of all workflow, some productions sites have workflows with thouzands of history lines), and it fetch the whole edit_workflow while the result is not used.
Please register or sign in to comment