From 6ab84f52f5f254a4ce92b5d0099fb874da5eacf1 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Mon, 17 Sep 2007 15:10:57 +0000 Subject: [PATCH] Add inventory-related "is..." object properties so that they are available in python filtering expressions on catalog. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16420 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ZSQLCatalog/SQLCatalog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py index 9bac0ccdcf..8f1b950a05 100644 --- a/product/ZSQLCatalog/SQLCatalog.py +++ b/product/ZSQLCatalog/SQLCatalog.py @@ -2537,6 +2537,8 @@ class Catalog( Folder, 'isMovement': ob.isMovement, # XXX 'isPredicate': ob.isPredicate, # XXX 'isDocument': ob.isDocument, # XXX + 'isInventory': ob.isInventory, # XXX + 'isInventoryMovement': ob.isInventoryMovement, # XXX } return getEngine().getContext(data) -- 2.30.9