Commit 7495a92f authored by Aurel's avatar Aurel

getDeliveryValue must be present on all document for banking


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18586 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4253e605
......@@ -37,6 +37,8 @@ from Products.ERP5.Document.AccountingTransaction import AccountingTransaction
from AccessControl.PermissionRole import PermissionRole
from Products.ERP5Type.Utils import convertToMixedCase, convertToUpperCase
from Products.ERP5Banking.BaobabMixin import BaobabMixin
from Products.ERP5Type.Base import Base
class BankingOperation(BaobabMixin, AccountingTransaction):
......@@ -247,3 +249,11 @@ InventoryLine.getBaobabSourceProjectUid__roles__ = PermissionRole(Permissions.Vi
InventoryLine.getBaobabDestinationProjectUid = lambda x: x.getDestinationProjectUid()
InventoryLine.getBaobabDestinationProjectUid__roles__ = PermissionRole(Permissions.View)
def getDeliveryValue(self):
"""
"""
return self
Base.getDeliveryValue = getDeliveryValue
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