[Erp5-report] r11840 - in /erp5/trunk/products/ERP5/ancient: ./ Core/

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 3 02:44:08 CET 2007


Author: jp
Date: Wed Jan  3 02:43:58 2007
New Revision: 11840

URL: http://svn.erp5.org?rev=11840&view=rev
Log:
Old files from early ERP5 design

Added:
    erp5/trunk/products/ERP5/ancient/
    erp5/trunk/products/ERP5/ancient/Core/
    erp5/trunk/products/ERP5/ancient/Core/Amount.py
    erp5/trunk/products/ERP5/ancient/Core/Capacity.py
    erp5/trunk/products/ERP5/ancient/Core/Causality.py
    erp5/trunk/products/ERP5/ancient/Core/Container.py
    erp5/trunk/products/ERP5/ancient/Core/Core.stx
    erp5/trunk/products/ERP5/ancient/Core/Delivery.py
    erp5/trunk/products/ERP5/ancient/Core/Item.py
    erp5/trunk/products/ERP5/ancient/Core/MetaNode.py
    erp5/trunk/products/ERP5/ancient/Core/MetaNode.pyc   (with props)
    erp5/trunk/products/ERP5/ancient/Core/MetaResource.py
    erp5/trunk/products/ERP5/ancient/Core/MetaResource.pyc   (with props)
    erp5/trunk/products/ERP5/ancient/Core/Movement.py
    erp5/trunk/products/ERP5/ancient/Core/Node.py
    erp5/trunk/products/ERP5/ancient/Core/Node.pyc   (with props)
    erp5/trunk/products/ERP5/ancient/Core/Path.py
    erp5/trunk/products/ERP5/ancient/Core/Prototype.py
    erp5/trunk/products/ERP5/ancient/Core/Quantity.py
    erp5/trunk/products/ERP5/ancient/Core/Resource.py
    erp5/trunk/products/ERP5/ancient/Core/Resource.pyc   (with props)
    erp5/trunk/products/ERP5/ancient/Core/Rule.py
    erp5/trunk/products/ERP5/ancient/Core/Tracking.py
    erp5/trunk/products/ERP5/ancient/Core/Transformation.py
    erp5/trunk/products/ERP5/ancient/Core/Variation.py
    erp5/trunk/products/ERP5/ancient/Core/Variation.pyc   (with props)
    erp5/trunk/products/ERP5/ancient/Core/__init__.py
    erp5/trunk/products/ERP5/ancient/Core/__init__.pyc   (with props)

Added: erp5/trunk/products/ERP5/ancient/Core/Amount.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Amount.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Amount.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Amount.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Amount:
+  """
+    An amount defines a quantity and variation of a resource
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Capacity.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Capacity.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Capacity.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Capacity.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,34 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Capacity:
+  """
+    A capacity is defined as a set of resources with quantities
+    expressed in a standard unit
+  """
+  pass

Added: erp5/trunk/products/ERP5/ancient/Core/Causality.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Causality.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Causality.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Causality.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,33 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Causality:
+  """
+    A causality contains movements generated by a template.
+  """
+  pass

Added: erp5/trunk/products/ERP5/ancient/Core/Container.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Container.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Container.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Container.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,34 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+from Item import Item
+
+class Container(Item):
+  """
+    A container is a collection of Items (and Containers)
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Core.stx
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Core.stx?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Core.stx (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Core.stx Wed Jan  3 02:43:58 2007
@@ -1,0 +1,63 @@
+
+
+
+Movement
+
+  Resource: Tissu 4
+  Variation:    length:4
+                size:39
+                color:blueT22
+                height:44
+                hw_option:tot,titi
+                service_option:xuxu,aoao
+  Source: Atelier
+  Destination: Tunisie
+  Qty: 40
+
+  source/organisation/5
+  destination/organisation/10
+  resource/modele/56
+  variante/modele/56/bleu
+  variante/modele/56/finitition_pierre_ponce/10
+  variante/modele/56/T38
+  variante/modele/56/32MB
+  variante/modele/56/longueur/30
+  variante/modele/56/large/50
+
+  SQL
+    uid(source), uid(destination), uid(resource), qty, length, color, etc. etc.
+
+  Methods
+    getLength
+    getSize
+    getCoulor
+    getHardwareOptions
+
+
+Resource
+
+
+
+  VariationRange
+    - id: length
+    - min: 10
+    - max: 100
+
+    variation_category/length
+
+  VariationValue
+
+    - id: blue
+
+    variation_category/color
+
+  VariationValue
+
+    - id: solar pannel
+
+    variation_category/power_supply
+
+
+Price is pointr in N dimension space related to variant and....
+
+

Added: erp5/trunk/products/ERP5/ancient/Core/Delivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Delivery.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Delivery.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Delivery.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Delivery:
+  """
+    A Delivery object is a collection of movements
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Item.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Item.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Item.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Item.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,35 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Item:
+  """
+    An Item defines a serial number and is referenced by an amount
+    or a movement (or a couple of). During transformations, a tracking
+    document can be produced to provide details between transformed items.
+  """
+

Added: erp5/trunk/products/ERP5/ancient/Core/MetaNode.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/MetaNode.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/MetaNode.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/MetaNode.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,57 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class MetaNode:
+  """
+    A metanode aggregates a collection of real nodes.
+    It is used for planning and budgeting. 
+    One application of a metanode is to create accounting rules....
+      
+    Ex. accounting
+
+      source/coramy/accounting/4003
+      destination/norfatex/accounting/2001
+
+      resource: EUR
+      amount: 10.0
+
+      source/portal_categories/country/france/accounting/4003
+      destination/portal_categories/country/spain/accounting/2001
+
+      resource: EUR
+      amount: 10.0
+
+    This means that we may have to add some uid to movement table
+    if we wish to benefit from acquisition.
+
+  """
+
+  def getNodeList():
+    """
+      Returns the subnodes of this metanode
+    """

Added: erp5/trunk/products/ERP5/ancient/Core/MetaNode.pyc
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/MetaNode.pyc?rev=11840&view=auto
==============================================================================
Binary file - no diff available.

Propchange: erp5/trunk/products/ERP5/ancient/Core/MetaNode.pyc
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: erp5/trunk/products/ERP5/ancient/Core/MetaResource.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/MetaResource.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/MetaResource.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/MetaResource.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,35 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class MetaResource:
+  """
+    A meta resource is an abstract resource which summarizes
+    a collection of resources.
+
+    Application is : budgetting
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/MetaResource.pyc
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/MetaResource.pyc?rev=11840&view=auto
==============================================================================
Binary file - no diff available.

Propchange: erp5/trunk/products/ERP5/ancient/Core/MetaResource.pyc
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: erp5/trunk/products/ERP5/ancient/Core/Movement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Movement.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Movement.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Movement.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,35 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Movement:
+  """
+    Movement of a quantity of resource in a given variation
+    from a source to a destination. Discrete variation
+    is stored as category. Continuous variation is stored
+    as attribute. 
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Node.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Node.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Node.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Node.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Node:
+  """
+    People, machines, 
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Node.pyc
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Node.pyc?rev=11840&view=auto
==============================================================================
Binary file - no diff available.

Propchange: erp5/trunk/products/ERP5/ancient/Core/Node.pyc
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: erp5/trunk/products/ERP5/ancient/Core/Path.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Path.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Path.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Path.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,35 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Path(Relation):
+  """
+    A path defines a planning path between two nodes
+    source, destination, domain (which resource)
+    mapped value is : delivery, price etc.
+  """
+

Added: erp5/trunk/products/ERP5/ancient/Core/Prototype.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Prototype.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Prototype.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Prototype.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,33 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Prototype:
+  """
+    A transformed resource which can be extended
+    All Transformations should be prototypes
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Quantity.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Quantity.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Quantity.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Quantity.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Quantity:
+  """
+    Quantities are float in ERP5
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Resource.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Resource.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Resource.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Resource.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Resource:
+  """
+    Describes a resource
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Resource.pyc
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Resource.pyc?rev=11840&view=auto
==============================================================================
Binary file - no diff available.

Propchange: erp5/trunk/products/ERP5/ancient/Core/Resource.pyc
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: erp5/trunk/products/ERP5/ancient/Core/Rule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Rule.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Rule.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Rule.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Rule:
+  """
+    Implemented as a movement template in XSL approach
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Tracking.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Tracking.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Tracking.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Tracking.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,33 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Tracking:
+  """
+    Points to items invoved in a transformation
+    (incl. identity transformation)
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Transformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Transformation.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Transformation.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Transformation.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,33 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Transformation:
+  """
+    Collection of transformed resources
+  """
+  pass

Added: erp5/trunk/products/ERP5/ancient/Core/Variation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Variation.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/Variation.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/Variation.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+class Variation:
+  """
+    Discrete variation
+  """

Added: erp5/trunk/products/ERP5/ancient/Core/Variation.pyc
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/Variation.pyc?rev=11840&view=auto
==============================================================================
Binary file - no diff available.

Propchange: erp5/trunk/products/ERP5/ancient/Core/Variation.pyc
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: erp5/trunk/products/ERP5/ancient/Core/__init__.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/__init__.py?rev=11840&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/ancient/Core/__init__.py (added)
+++ erp5/trunk/products/ERP5/ancient/Core/__init__.py Wed Jan  3 02:43:58 2007
@@ -1,0 +1,4 @@
+from Variation import Variation
+from Resource import Resource
+from MetaResource import MetaResource
+from MetaNode import MetaNode

Added: erp5/trunk/products/ERP5/ancient/Core/__init__.pyc
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ancient/Core/__init__.pyc?rev=11840&view=auto
==============================================================================
Binary file - no diff available.

Propchange: erp5/trunk/products/ERP5/ancient/Core/__init__.pyc
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream




More information about the Erp5-report mailing list