Commit a9bc0547 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added comments to decide whether OpenOrderLine should be or not a subclass of OrderLine

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@36066 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent af44327d
...@@ -37,6 +37,10 @@ from Products.ERP5.Document.Supply import Supply ...@@ -37,6 +37,10 @@ from Products.ERP5.Document.Supply import Supply
class OpenOrder(Supply): class OpenOrder(Supply):
""" """
An OpenOrder is a collection of Open Order Lines An OpenOrder is a collection of Open Order Lines
TODO:
- make sure that this should be (or not) a subclass
of Order
""" """
meta_type = 'ERP5 Open Order' meta_type = 'ERP5 Open Order'
portal_type = 'Open Order' portal_type = 'Open Order'
......
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2009 Nexedi SA and Contributors. All Rights Reserved. # Copyright (c) 2009 Nexedi SA and Contributors. All Rights Reserved.
...@@ -29,11 +30,16 @@ ...@@ -29,11 +30,16 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5.Document.SupplyLine import SupplyLine from Products.ERP5.Document.SupplyLine import SupplyLine
from Products.ERP5.Document.OrderLine import OrderLine
class OpenOrderLine(SupplyLine): class OpenOrderLine(SupplyLine, OrderLine):
""" """
An Open Order Line is a Supply Line with additional An Open Order Line is a Supply Line with additional
properties to define repeatability properties to define repeatability
TODO:
- make sure that this should be (or not) a subclass
of OrderLine
""" """
meta_type = 'ERP5 Open Order Line' meta_type = 'ERP5 Open Order Line'
portal_type = 'Open Order Line' portal_type = 'Open Order Line'
......
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