diff --git a/product/ERP5Form/PlanningBox.py b/product/ERP5Form/PlanningBox.py index 124658c52301c23c784ed74fa3ad901e8b70bba6..0572c803c7ff37d142165117fa93d58c017230c7 100644 --- a/product/ERP5Form/PlanningBox.py +++ b/product/ERP5Form/PlanningBox.py @@ -1004,7 +1004,6 @@ class PlanningBoxWidget(Widget.Widget): status = self.basic.build() if status != 1: raise PlanningBoxError, status - return self ###### CALL CLASS METHODS TO BUILD PLANNING STRUCTURE ###### # creating PlanningStructure instance and initializing its internal values @@ -1016,7 +1015,6 @@ class PlanningBoxWidget(Widget.Widget): if status != 1: # in case error during planning structure generation raise PlanningBoxError, status - return self return self