Commit aeed8fb3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not import legacy code.


git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37051 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1cb595ad
......@@ -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)
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