Commit 6ab84f52 authored by Vincent Pelletier's avatar Vincent Pelletier

Add inventory-related "is..." object properties so that they are available in...

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
parent 6e8afe6d
......@@ -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)
......
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