From 76d12f8a444e3e12eb602e44d4f15bf4f4a7de84 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Tue, 20 Jul 2004 15:42:10 +0000
Subject: [PATCH] Add getInventoriatedStopDate and getInventoriatedStartDate.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1270 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../ERP5/Document/AccountingTransactionLine.py    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/product/ERP5/Document/AccountingTransactionLine.py b/product/ERP5/Document/AccountingTransactionLine.py
index 90572d4d23..389fdb3ac1 100755
--- a/product/ERP5/Document/AccountingTransactionLine.py
+++ b/product/ERP5/Document/AccountingTransactionLine.py
@@ -251,3 +251,18 @@ Une ligne tarifaire."""
       Redefine this method here, because AccountingTransactionLine does not have target values.
     """
     return Amount.getInventoriatedQuantity(self)
+
+
+  security.declareProtected(Permissions.AccessContentsInformation, 'getInventoriatedStartDate')
+  def getInventoriatedStartDate(self):
+    """
+      Get the start date.
+    """
+    return self.getStartDate()
+
+  security.declareProtected(Permissions.AccessContentsInformation, 'getInventoriatedStopDate')
+  def getInventoriatedStopDate(self):
+    """
+      Get the stop date.
+    """
+    return self.getStopDate()
\ No newline at end of file
-- 
2.30.9