Commit 219ecfaf authored by Nicolas Delaby's avatar Nicolas Delaby

Before http://svn.erp5.org?rev=43181&view=rev

OpenOrders (and sub content) Where instances of Orders.
Restore this property to not break current implementation,
even if the question "OpenOrder are Orders or not ?" stay open.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43215 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 06709d64
......@@ -33,8 +33,9 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, interfaces
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
from Products.ERP5.Document.Supply import Supply
from Products.ERP5.Document.Order import Order
class OpenOrder(Supply):
class OpenOrder(Supply, Order):
"""
An OpenOrder is a collection of Open Order Lines
......
......@@ -29,11 +29,16 @@
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5.Document.SupplyCell import SupplyCell
from Products.ERP5.Document.OrderCell import OrderCell
class OpenOrderCell(SupplyCell):
class OpenOrderCell(SupplyCell, OrderCell):
"""
A OpenOrderCell allows to define specific quantities
for each variation of a resource in an Open Order Line.
TODO:
- make sure that this should be (or not) a subclass
of OrderCell
"""
meta_type = 'ERP5 Open Order Cell'
portal_type = 'Open Order Cell'
......
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