diff --git a/product/ERP5/Document/WebSection.py b/product/ERP5/Document/WebSection.py
index e324ca7a3b5c44b790627f6c23e07b4d5b6ce78f..c1083cba5e8075dc46a843c24fd9042ac3601b7a 100644
--- a/product/ERP5/Document/WebSection.py
+++ b/product/ERP5/Document/WebSection.py
@@ -304,7 +304,7 @@ class WebSection(Domain, PermanentURLMixIn):
         except KeyError:
           pass
 
-      result = self._getTypeBasedMethod('getPermanentURL',
+      result = document._getTypeBasedMethod('getPermanentURL',
                      fallback_script_id='WebSection_getPermanentURL')(document,
                          view=view)