Skip to content

erp5_hal_json_style: Fix condition in Base_deleteObject to be similar to what

is used in Folder_delete, in order to decide if we would delete the object from ZODB or do workflow transition.

Previous code was not harmful, since isDeletable check above would block the case of existing workflow with 'delete_action' not possible in current state. Yet, it was confusing.

Merge request reports