diff --git a/product/ERP5/Document/AppliedRule.py b/product/ERP5/Document/AppliedRule.py index f4f910e2e6eb20c39f2198d6c79e0021af883f3c..71d5a1b227ed318aa6522f6a2b615c540abf61e8 100644 --- a/product/ERP5/Document/AppliedRule.py +++ b/product/ERP5/Document/AppliedRule.py @@ -35,7 +35,7 @@ from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.TransactionalVariable import getTransactionalVariable from Products.ERP5Type.UnrestrictedMethod import UnrestrictedMethod from Products.ERP5.mixin.explainable import ExplainableMixin -from Products.ERP5Legacy.Document.Rule import Rule +from Products.ERP5.mixin.rule import RuleMixin TREE_DELIVERED_CACHE_KEY = 'AppliedRule._isTreeDelivered_cache' TREE_DELIVERED_CACHE_ENABLED = 'TREE_DELIVERED_CACHE_ENABLED' @@ -225,4 +225,4 @@ class AppliedRule(XMLObject, ExplainableMixin): """ Return a list of movements. """ - return self.objectValues(portal_type=Rule.movement_type) + return self.objectValues(portal_type=RuleMixin.movement_type)