erp5_hal_json_style: Fix condition in Base_deleteObject to be similar to what
Georgios Dagkakis authored
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.
1a52cb86
Name Last commit Last update