From 485455d0414792c3f6c8c752ba1a9c1de30c1916 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 1 Oct 2010 15:03:45 +0000
Subject: [PATCH] setting default now was a bad idea. If no date is defined, it
 will use transaction's date

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38847 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../your_date.xml                                         | 8 +-------
 .../your_date.xml                                         | 8 +-------
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewCreateReversalTransactionListDialog/your_date.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewCreateReversalTransactionListDialog/your_date.xml
index 1c6fca5a8b..01212acf8e 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewCreateReversalTransactionListDialog/your_date.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewCreateReversalTransactionListDialog/your_date.xml
@@ -9,9 +9,7 @@
         <item>
             <key> <string>delegated_list</string> </key>
             <value>
-              <list>
-                <string>default_now</string>
-              </list>
+              <list/>
             </value>
         </item>
         <item>
@@ -71,10 +69,6 @@
             <key> <string>values</string> </key>
             <value>
               <dictionary>
-                <item>
-                    <key> <string>default_now</string> </key>
-                    <value> <int>1</int> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>your_date</string> </value>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_viewCreateReversalTransactionDialog/your_date.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_viewCreateReversalTransactionDialog/your_date.xml
index 1c6fca5a8b..01212acf8e 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_viewCreateReversalTransactionDialog/your_date.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_viewCreateReversalTransactionDialog/your_date.xml
@@ -9,9 +9,7 @@
         <item>
             <key> <string>delegated_list</string> </key>
             <value>
-              <list>
-                <string>default_now</string>
-              </list>
+              <list/>
             </value>
         </item>
         <item>
@@ -71,10 +69,6 @@
             <key> <string>values</string> </key>
             <value>
               <dictionary>
-                <item>
-                    <key> <string>default_now</string> </key>
-                    <value> <int>1</int> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>your_date</string> </value>
-- 
2.30.9