Commit 994a81be authored by Jean-Paul Smets's avatar Jean-Paul Smets

Repair broken inheritance and added a note to explain where we head to.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30640 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8933af93
......@@ -30,13 +30,12 @@
import zope.interface
from AccessControl import ClassSecurityInfo
from Products.ERP5.Document.Predicate import Predicate
from Products.ERP5Type.DivergenceMessage import DivergenceMessage
from Products.ERP5Type import Permissions, PropertySheet, interfaces
from Products.ERP5.Document.PropertyDivergenceTester import \
PropertyDivergenceTester
class CategoryDivergenceTester(Predicate):
class CategoryDivergenceTester(PropertyDivergenceTester):
"""
The purpose of this divergence tester is to check the
consistency between delivery movement and simulation movement
......
......@@ -30,16 +30,20 @@
import zope.interface
from AccessControl import ClassSecurityInfo
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5.Document.Predicate import Predicate
from Products.ERP5Type.DivergenceMessage import DivergenceMessage
from Products.ERP5Type import Permissions, PropertySheet, interfaces
class PropertyDivergenceTester(XMLObject):
class PropertyDivergenceTester(Predicate):
"""
The purpose of this divergence tester is to check the
consistency between delivery movement and simulation movement
for some specific properties.
NOTE: PropertyDivergenceTester will be phased out
and replaced, if needed, by a mixin. Divergence
Testers should be Float, String and Category
DivergenceTester
"""
meta_type = 'ERP5 Property Divergence Tester'
portal_type = 'Property Divergence Tester'
......
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