diff --git a/product/ERP5/PropertySheet/Domain.py b/product/ERP5/PropertySheet/Domain.py index d929094e1b2d3d4ef3af6b25a18917fcd20d5a20..37bffcab258bfabc4b1d6b8fa5d6ebe5ec7cd1db 100755 --- a/product/ERP5/PropertySheet/Domain.py +++ b/product/ERP5/PropertySheet/Domain.py @@ -33,6 +33,16 @@ class Domain: """ _properties = ( + # Optional reporting methods to extend predicate + { 'id' : 'select_method_id', + 'description' : 'A method (python, SQL) to select objects which satisfy the predicate', + 'type' : 'string', + 'mode' : 'w' }, + { 'id' : 'stat_method_id', + 'description' : 'A method (python, SQL) to calculate statistics on selected objects', + 'type' : 'string', + 'mode' : 'w' }, + # Legacy - now same with predicate { 'id' : 'domain_base_category', 'storage_id' : 'domain_base_category_list', # Compatibility 'description' : 'The acceptable range of discrete variation',