diff --git a/product/ERP5/Document/WebSection.py b/product/ERP5/Document/WebSection.py index cda106b0a44a3106f771c7ac401bbbd3e06855c8..597c29c8c7ba91cf8a5bff66669c94641ebfc0cf 100644 --- a/product/ERP5/Document/WebSection.py +++ b/product/ERP5/Document/WebSection.py @@ -304,6 +304,7 @@ class WebSection(Domain, DocumentExtensibleTraversableMixin): except KeyError: pass + document = document.getObject().__of__(self) result = document._getTypeBasedMethod('getPermanentURL', fallback_script_id='WebSection_getPermanentURL')(document, view=view)