Commit 2b08461c authored by Ayush Tiwari's avatar Ayush Tiwari Committed by Ayush Tiwari

erp5_catalog: Add CatalogFilter property_sheet to PythonScript class

Use filter attributes as property. Same as done for ERP5 SQL Methods.
This way maintains consistency between sub-objects of Catalog, i.e,
SQL Method and Python Script.
parent 7758e940
...@@ -87,6 +87,7 @@ class PythonScript(XMLObject, ZopePythonScript): ...@@ -87,6 +87,7 @@ class PythonScript(XMLObject, ZopePythonScript):
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.PythonScript , PropertySheet.PythonScript
, PropertySheet.CatalogFilter
) )
def __init__(self, *args, **kw): def __init__(self, *args, **kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment