diff --git a/product/ERP5Form/PlanningBox.py b/product/ERP5Form/PlanningBox.py
index 787ddb8ec0a42d72cb55f034929335a696555d29..b78f3b886f2d87f2e5f9210bbaa194d0d109821a 100644
--- a/product/ERP5Form/PlanningBox.py
+++ b/product/ERP5Form/PlanningBox.py
@@ -1223,7 +1223,7 @@ class BasicStructure:
       return [(Message(domain=None, message=message,mapping=None))]
     if (default_selection_report_path in portal_categories.objectIds()) or \
       (portal_domains is not None and default_selection_report_path in \
-       portal_domaind.objectIds()):
+       portal_domains.objectIds()):
       pass
     else:
       default_selection_root_path = self.report_root_list[0][0]