Commit 203310cf authored by Titouan Soulard's avatar Titouan Soulard

erp5_trade: remove now-useless `isInventoryMovement` getter

parent bc889d7b
......@@ -29,7 +29,6 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet
from erp5.component.document.DeliveryCell import DeliveryCell
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
class InventoryOffsetCell(DeliveryCell):
"""
......@@ -39,7 +38,6 @@ class InventoryOffsetCell(DeliveryCell):
meta_type = "ERP5 Inventory Offset Cell"
portal_type = "Inventory Offset Cell"
add_permission = Permissions.AddPortalContent
isInventoryMovement = ConstantGetter("isInventoryMovement", value=True)
# Declarative security
security = ClassSecurityInfo()
......
......@@ -29,7 +29,6 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet
from erp5.component.document.DeliveryLine import DeliveryLine
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
class InventoryOffsetLine(DeliveryLine):
"""
......@@ -39,7 +38,6 @@ class InventoryOffsetLine(DeliveryLine):
meta_type = "ERP5 Inventory Offset Line"
portal_type = "Inventory Offset Line"
add_permission = Permissions.AddPortalContent
isInventoryMovement = ConstantGetter("isInventoryMovement", value=True)
# Declarative security
security = ClassSecurityInfo()
......
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