Most Powerful Open Source ERP

Guideline Call Parent Method For Zope Hook Method Override In Python

Needs an explanation.
  • Last Update:2019-07-15
  • Version:001
  • Language:en

Call Parent Method For Zope Hook Method Override In Python

The real life example was on manage_beforeDelete for example in CopySupport.py. This method is used to uncatalog a document when it's deleted. In that case, never forget to call (Parent class).manage_beforeDelete(self, item, container).