Commit 0a8c1859 authored by Sebastien Robin's avatar Sebastien Robin

added portal_supply_type_list


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3012 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ee7fa194
......@@ -129,6 +129,8 @@ portal_alarm_type_list = ('Supply Alarm Line','Alarm')
portal_payment_condition_type_list = ('Condition Paiement',)
portal_supply_type_list = ('Supply Line','Supply Cell')
# This transaction lines are special because destination must be None.
portal_balance_transaction_line_type_list = ('Balance Transaction Line',)
......
##############################################################################
##############################################################################
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
#
......@@ -340,6 +340,13 @@ class ERP5Site ( CMFSite, FolderMixIn ):
"""
return self._getPortalConfiguration('portal_delivery_movement_type_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDeliveryMovementTypeList')
def getPortalSupplyTypeList(self):
"""
Return delivery movement types.
"""
return self._getPortalConfiguration('portal_supply_type_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalAcquisitionMovementTypeList')
def getPortalAcquisitionMovementTypeList(self):
"""
......
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