From f54a47bf4dbc05e700b0f9334a7bde27dc4b43c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 21 Jan 2008 09:23:19 +0000
Subject: [PATCH] TradeCondition_getDueDate has a bad name, it should be named
 PaymentCondition_getDueDate

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18798 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_trade/TradeCondition_getDueDate.xml    | 5 +++++
 bt5/erp5_trade/bt/revision                                   | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/TradeCondition_getDueDate.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/TradeCondition_getDueDate.xml
index aac876acc2..f034f6d08c 100644
--- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/TradeCondition_getDueDate.xml
+++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/TradeCondition_getDueDate.xml
@@ -68,6 +68,7 @@
             <value> <string encoding="cdata"><![CDATA[
 
 # TODO: this script is not well tested and not fully implemented\n
+# TODO: this is actually PaymentCondition_getDueDate\n
 \n
 from DateTime import DateTime\n
 \n
@@ -209,6 +210,10 @@ return due_date\n
             <key> <string>id</string> </key>
             <value> <string>TradeCondition_getDueDate</string> </value>
         </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
         <item>
             <key> <string>warnings</string> </key>
             <value>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 147ea53ba1..b00047941a 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-158
\ No newline at end of file
+159
\ No newline at end of file
-- 
2.30.9