[Erp5-report] r27515 - /erp5/trunk/products/ERP5/interfaces/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 11 11:15:38 CEST 2009


Author: jp
Date: Thu Jun 11 11:15:35 2009
New Revision: 27515

URL: http://svn.erp5.org?rev=27515&view=rev
Log:
Use zope interfaces

Modified:
    erp5/trunk/products/ERP5/interfaces/coordinate.py
    erp5/trunk/products/ERP5/interfaces/divergence_tester.py
    erp5/trunk/products/ERP5/interfaces/entity.py
    erp5/trunk/products/ERP5/interfaces/expandable.py
    erp5/trunk/products/ERP5/interfaces/open_order_expander.py
    erp5/trunk/products/ERP5/interfaces/predicate.py
    erp5/trunk/products/ERP5/interfaces/rule.py
    erp5/trunk/products/ERP5/interfaces/transformation.py
    erp5/trunk/products/ERP5/interfaces/variated.py

Modified: erp5/trunk/products/ERP5/interfaces/coordinate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/coordinate.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/coordinate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/coordinate.py [utf8] Thu Jun 11 11:15:35 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -26,7 +27,7 @@
 #
 ##############################################################################
 
-from Interface import Interface
+from zope.interface import Interface
 
 class ICoordinate(Interface):
   """

Modified: erp5/trunk/products/ERP5/interfaces/divergence_tester.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/divergence_tester.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/divergence_tester.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/divergence_tester.py [utf8] Thu Jun 11 11:15:35 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.
@@ -26,7 +27,7 @@
 #
 ##############################################################################
 
-from Interface import Interface
+from zope.interface import Interface
 
 class IDivergenceTester(Interface):
   """

Modified: erp5/trunk/products/ERP5/interfaces/entity.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/entity.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/entity.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/entity.py [utf8] Thu Jun 11 11:15:35 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -26,7 +27,7 @@
 #
 ##############################################################################
 
-from Interface import Interface
+from zope.interface import Interface
 
 class IEntity(Interface):
   """

Modified: erp5/trunk/products/ERP5/interfaces/expandable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/expandable.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/expandable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/expandable.py [utf8] Thu Jun 11 11:15:35 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2009 Nexedi SA and Contributors. All Rights Reserved.
@@ -26,7 +27,7 @@
 #
 ##############################################################################
 
-from Interface import Interface
+from zope.interface import Interface
 
 class IExpandable(Interface):
   """

Modified: erp5/trunk/products/ERP5/interfaces/open_order_expander.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/open_order_expander.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/open_order_expander.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/open_order_expander.py [utf8] Thu Jun 11 11:15:35 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2009 Nexedi SA and Contributors. All Rights Reserved.
@@ -26,7 +27,7 @@
 #
 ##############################################################################
 
-from Interface import Interface
+from zope.interface import Interface
 
 class IOpenOrderExpander(Interface):
   """

Modified: erp5/trunk/products/ERP5/interfaces/predicate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/predicate.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/predicate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/predicate.py [utf8] Thu Jun 11 11:15:35 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -26,7 +27,7 @@
 #
 ##############################################################################
 
-from Interface import Interface
+from zope.interface import Interface
 
 class IPredicate(Interface):
   """

Modified: erp5/trunk/products/ERP5/interfaces/rule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/rule.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/rule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/rule.py [utf8] Thu Jun 11 11:15:35 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -26,7 +27,7 @@
 #
 ##############################################################################
 
-from Interface import Interface
+from zope.interface import Interface
 
 class IRule(Interface):
   """A Rule describes transformations of documents.

Modified: erp5/trunk/products/ERP5/interfaces/transformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/transformation.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/transformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/transformation.py [utf8] Thu Jun 11 11:15:35 2009
@@ -1,4 +1,4 @@
-# -*- coding: utf8 -*-
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2009 Nexedi SA and Contributors. All Rights Reserved.
@@ -31,10 +31,14 @@
 # simple interface which have to be implemented on TradeModelLine,
 # Transformation, Pay Sheet Model, etc
 from zope.interface import Interface
+
 class ITransformation(Interface):
   """
     Common Interface to implementing quering of Indirect Amount
     Models (TaxModelLine, InvoiceModelLine) shall be based on this interface
+
+    TODO:
+      - define parameters precisely for each method
   """
 
   def getAggregatedAmountList(context):

Modified: erp5/trunk/products/ERP5/interfaces/variated.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/variated.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/variated.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/variated.py [utf8] Thu Jun 11 11:15:35 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -26,7 +27,7 @@
 #
 ##############################################################################
 
-from Interface import Interface
+from zope.interface import Interface
 
 class IVariated(Interface):
   """




More information about the Erp5-report mailing list