Commit 9998c317 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added some notes

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@34929 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8769eaad
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2009 Nexedi SA and Contributors. All Rights Reserved.
......@@ -31,9 +32,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.Delivery import Delivery
from Products.ERP5.Document.Supply import Supply
class OpenOrder(Delivery):
class OpenOrder(Supply):
"""
An OpenOrder is a collection of Open Order Lines
"""
......@@ -72,11 +73,9 @@ class OpenOrder(Delivery):
SubscriptionItem
Others are expanded by their Item
"""
security.declarePrivate('expandOpenOrderRule')
def expandOpenOrderRule(self, applied_rule_id=None, force=0, **kw):
"""
Provides the default implementation of expand for Open Orders
NOTE-JPS: not sure if it is really necessary to keep this
since only used by one client and tiolive. For tiolive
it will be dropped out
"""
\ No newline at end of file
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