[Erp5-report] r15824 - /erp5/trunk/products/ERP5/Document/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 27 14:46:01 CEST 2007


Author: jp
Date: Mon Aug 27 14:46:01 2007
New Revision: 15824

URL: http://svn.erp5.org?rev=15824&view=rev
Log:
New WorkflowMethod implementation. This new implementation solves most issues which existed previously and related to multiple workflows for a single workflow method ID. It should also be faster but will require some more work so that changes in workflow definition are reflected automatically in workflow methods registration.

Modified:
    erp5/trunk/products/ERP5/Document/ImmobilisableItem.py
    erp5/trunk/products/ERP5/Document/Immobilisation.py
    erp5/trunk/products/ERP5/Document/ImmobilisationCell.py
    erp5/trunk/products/ERP5/Document/ImmobilisationDelivery.py
    erp5/trunk/products/ERP5/Document/ImmobilisationLine.py
    erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py
    erp5/trunk/products/ERP5/Document/Item.py

Modified: erp5/trunk/products/ERP5/Document/ImmobilisableItem.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisableItem.py?rev=15824&r1=15823&r2=15824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisableItem.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisableItem.py Mon Aug 27 14:46:01 2007
@@ -40,7 +40,6 @@
 from Products.ERP5Type.DateUtils import same_movement_interval, number_of_months_in_year, centis, millis
 from Products.ERP5Type.DateUtils import getAccountableYearFraction, roundDate
 from Products.ERP5.Document.Amount import Amount
-from Products.CMFCore.WorkflowCore import WorkflowMethod
 from Products.CMFCore.utils import getToolByName
 from Products.PythonScripts.Utility import allow_class
 from Products.ERP5.Document.ImmobilisationMovement import UNIMMOBILISING_METHOD, NO_CHANGE_METHOD, AMORTISATION_METHOD_PREFIX

Modified: erp5/trunk/products/ERP5/Document/Immobilisation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Immobilisation.py?rev=15824&r1=15823&r2=15824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Immobilisation.py (original)
+++ erp5/trunk/products/ERP5/Document/Immobilisation.py Mon Aug 27 14:46:01 2007
@@ -31,7 +31,6 @@
 
 from Products.ERP5Type import Base, Permissions, PropertySheet, Constraint, Interface
 #from Products.ERP5.Core import MetaNode, MetaResource
-from Products.CMFCore.WorkflowCore import WorkflowMethod
 
 from Products.ERP5Type.XMLObject import XMLObject
 from Products.ERP5.Document.Amount import Amount

Modified: erp5/trunk/products/ERP5/Document/ImmobilisationCell.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisationCell.py?rev=15824&r1=15823&r2=15824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisationCell.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisationCell.py Mon Aug 27 14:46:01 2007
@@ -31,7 +31,6 @@
 
 from Products.ERP5Type import Base, Permissions, PropertySheet, Constraint, Interface
 #from Products.ERP5.Core import MetaNode, MetaResource
-from Products.CMFCore.WorkflowCore import WorkflowMethod
 
 from Products.ERP5Type.XMLObject import XMLObject
 from Products.ERP5.Document.Amount import Amount

Modified: erp5/trunk/products/ERP5/Document/ImmobilisationDelivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisationDelivery.py?rev=15824&r1=15823&r2=15824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisationDelivery.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisationDelivery.py Mon Aug 27 14:46:01 2007
@@ -39,7 +39,7 @@
 from Products.ERP5Type.DateUtils import getMonthFraction, getYearFraction, getBissextilCompliantYearFraction
 from Products.ERP5Type.DateUtils import same_movement_interval, number_of_months_in_year, centis, millis
 from Products.ERP5.Document.Amount import Amount
-from Products.CMFCore.WorkflowCore import WorkflowMethod
+from Products.ERP5Type.Base import WorkflowMethod
 from Products.CMFCore.utils import getToolByName
 from Products.ERP5.Document.ImmobilisableItem import ImmobilisationValidityError
 

Modified: erp5/trunk/products/ERP5/Document/ImmobilisationLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisationLine.py?rev=15824&r1=15823&r2=15824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisationLine.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisationLine.py Mon Aug 27 14:46:01 2007
@@ -31,7 +31,6 @@
 
 from Products.ERP5Type import Base, Permissions, PropertySheet, Constraint, Interface
 #from Products.ERP5.Core import MetaNode, MetaResource
-from Products.CMFCore.WorkflowCore import WorkflowMethod
 
 from Products.ERP5Type.XMLObject import XMLObject
 from Products.ERP5.Document.Amount import Amount

Modified: erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py?rev=15824&r1=15823&r2=15824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py Mon Aug 27 14:46:01 2007
@@ -30,7 +30,6 @@
 from AccessControl import ClassSecurityInfo
 
 from Products.ERP5Type import Base, Permissions, PropertySheet, Constraint, Interface
-from Products.CMFCore.WorkflowCore import WorkflowMethod
 
 from Products.ERP5Type.XMLObject import XMLObject
 from Products.ERP5.Document.Amount import Amount

Modified: erp5/trunk/products/ERP5/Document/Item.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Item.py?rev=15824&r1=15823&r2=15824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Item.py (original)
+++ erp5/trunk/products/ERP5/Document/Item.py Mon Aug 27 14:46:01 2007
@@ -40,7 +40,6 @@
 from Products.ERP5Type.DateUtils import getMonthFraction, getYearFraction, getBissextilCompliantYearFraction
 from Products.ERP5Type.DateUtils import same_movement_interval, number_of_months_in_year, centis, millis
 from Products.ERP5.Document.Amount import Amount
-from Products.CMFCore.WorkflowCore import WorkflowMethod
 from Products.CMFCore.utils import getToolByName
 from Products.ERP5.Document.ImmobilisableItem import ImmobilisableItem
 




More information about the Erp5-report mailing list