diff --git a/product/ERP5Form/PlanningBox.py b/product/ERP5Form/PlanningBox.py index 0a25c6bd3421e248ebc928339e60745db2badef1..d90eec0e86620a91119ada019ff6286e235f38d3 100644 --- a/product/ERP5Form/PlanningBox.py +++ b/product/ERP5Form/PlanningBox.py @@ -1862,8 +1862,11 @@ class BasicGroup: block_end = getattr(obj, object_property_end, None) height_method = getattr(obj, object_height_method, None) - if height_method is not None: - height = height_method() + if callable(height_method): + try: + height = height_method() + except (ConflictError, RuntimeError): + raise # handling case where activity bound is not defined if block_begin is None: