diff --git a/product/ERP5Form/PlanningBox.py b/product/ERP5Form/PlanningBox.py index 856e4e1e60c9d5bedf16b79775bdbdcf569e1404..6428522ed11098cf1166a48da5fbef1ccad35d9d 100644 --- a/product/ERP5Form/PlanningBox.py +++ b/product/ERP5Form/PlanningBox.py @@ -432,10 +432,10 @@ class PlanningBoxValidator(Validator.StringBaseValidator): # calendar mode. for that will need to add special informations about the # group itself to know its own bounds. delta_start = block_moved['secondary_axis_position'] / \ - planning_coordinates['frame']['content'][axis_length] + planning_coordinates['frame']['planning_content'][axis_length] delta_stop = (block_moved['secondary_axis_position'] + \ block_moved['secondary_axis_length']) / \ - planning_coordinates['frame']['content'][axis_length] + planning_coordinates['frame']['planning_content'][axis_length] # testing different cases of invalidation if delta_stop < 0 or delta_start > 1 :