Commit 4c0283ec authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use SolverMixin and ConfigurableMixin for target solver portal types.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31378 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 07a3076b
...@@ -33,8 +33,9 @@ from Products.CMFCore.utils import getToolByName ...@@ -33,8 +33,9 @@ from Products.CMFCore.utils import getToolByName
from Products.ERP5Type import Permissions, PropertySheet, interfaces from Products.ERP5Type import Permissions, PropertySheet, interfaces
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5.mixin.solver import SolverMixin from Products.ERP5.mixin.solver import SolverMixin
from Products.ERP5.mixin.configurable import ConfigurableMixin
class AcceptSolver(SolverMixin, XMLObject): class AcceptSolver(SolverMixin, ConfigurableMixin, XMLObject):
""" """
""" """
meta_type = 'ERP5 Accept Solver' meta_type = 'ERP5 Accept Solver'
......
...@@ -32,8 +32,10 @@ from AccessControl import ClassSecurityInfo ...@@ -32,8 +32,10 @@ from AccessControl import ClassSecurityInfo
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from Products.ERP5Type import Permissions, PropertySheet, interfaces from Products.ERP5Type import Permissions, PropertySheet, interfaces
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5.mixin.solver import SolverMixin
from Products.ERP5.mixin.configurable import ConfigurableMixin
class AdoptSolver(XMLObject): class AdoptSolver(SolverMixin, ConfigurableMixin, XMLObject):
""" """
""" """
meta_type = 'ERP5 Adopt Solver' meta_type = 'ERP5 Adopt Solver'
......
...@@ -32,8 +32,10 @@ from AccessControl import ClassSecurityInfo ...@@ -32,8 +32,10 @@ from AccessControl import ClassSecurityInfo
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from Products.ERP5Type import Permissions, PropertySheet, interfaces from Products.ERP5Type import Permissions, PropertySheet, interfaces
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5.mixin.solver import SolverMixin
from Products.ERP5.mixin.configurable import ConfigurableMixin
class QuantitySplitSolver(XMLObject): class QuantitySplitSolver(SolverMixin, ConfigurableMixin, XMLObject):
""" """
QUESTION: is a solver a process ? (ie. subprocess of Solver Process) QUESTION: is a solver a process ? (ie. subprocess of Solver Process)
""" """
......
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