Commit f813014d authored by Vincent Pelletier's avatar Vincent Pelletier

Add 2 new class-properties: isInventory and isInventoryLine.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16110 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d82088f4
......@@ -42,6 +42,7 @@ class Inventory(Delivery):
isPortalContent = 1
isRADContent = 1
isDelivery = 1
isInventory = 1
# Declarative security
security = ClassSecurityInfo()
......
......@@ -45,6 +45,7 @@ class InventoryLine(DeliveryLine):
add_permission = Permissions.AddPortalContent
isPortalContent = 1
isRADContent = 1
isInventoryLine = 1
# Declarative security
security = ClassSecurityInfo()
......
......@@ -674,6 +674,8 @@ class Base( CopyContainer,
isBaseCategory = 0 #
isMovement = 0 #
isDelivery = 0 #
isInventory = 0 #
isInventoryLine = 0 #
isIndexable = 1 # If set to 0, reindexing will not happen (useful for optimization)
isPredicate = 0 #
isTemplate = 0 #
......
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