diff --git a/product/ERP5/Document/DeliverySimulationRule.py b/product/ERP5/Document/DeliverySimulationRule.py index 644c81e85db6d8f271b0c0cb15a78ba70d384daa..1e1cae802c45ccf2905301f86d2cfb5b44140e8f 100644 --- a/product/ERP5/Document/DeliverySimulationRule.py +++ b/product/ERP5/Document/DeliverySimulationRule.py @@ -44,17 +44,6 @@ class DeliverySimulationRule(Rule): security = ClassSecurityInfo() security.declareObjectProtected(Permissions.AccessContentsInformation) - security.declareProtected(Permissions.AccessContentsInformation, - 'isAccountable') - def isAccountable(self, movement): - """ - Tells whether generated movement needs to be accounted or not. - - Invoice movement are never accountable, so simulation movement for - invoice movements should not be accountable either. - """ - return 0 - security.declareProtected(Permissions.ModifyPortalContent, 'expand') def expand(self, applied_rule, force=0, **kw): """