From 4a722d35a7a6feb3a893965240a680638fb85521 Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Mon, 14 Dec 2009 11:20:47 +0000
Subject: [PATCH] 2009-12-14 yusei * Add sales group type to Sale Invoice
 Transaction. * Add purchase group type to Purchase Invoice Transaction.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31275 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Purchase%20Invoice%20Transaction.xml      | 7 +++++--
 .../portal_types/Sale%20Invoice%20Transaction.xml          | 7 +++++--
 bt5/erp5_accounting/bt/change_log                          | 4 ++++
 bt5/erp5_accounting/bt/revision                            | 2 +-
 4 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Purchase%20Invoice%20Transaction.xml b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Purchase%20Invoice%20Transaction.xml
index 35a06efd27..0730f1f4d0 100644
--- a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Purchase%20Invoice%20Transaction.xml
+++ b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Purchase%20Invoice%20Transaction.xml
@@ -37,9 +37,10 @@
             <key> <string>group_list</string> </key>
             <value>
               <tuple>
-                <string>delivery</string>
                 <string>accounting_transaction</string>
+                <string>delivery</string>
                 <string>invoice</string>
+                <string>purchase</string>
               </tuple>
             </value>
         </item>
@@ -53,7 +54,9 @@
         </item>
         <item>
             <key> <string>permission</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Sale%20Invoice%20Transaction.xml b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Sale%20Invoice%20Transaction.xml
index 4a49b313e0..2374ea86ac 100644
--- a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Sale%20Invoice%20Transaction.xml
+++ b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Sale%20Invoice%20Transaction.xml
@@ -37,9 +37,10 @@
             <key> <string>group_list</string> </key>
             <value>
               <tuple>
-                <string>delivery</string>
                 <string>accounting_transaction</string>
+                <string>delivery</string>
                 <string>invoice</string>
+                <string>sales</string>
               </tuple>
             </value>
         </item>
@@ -53,7 +54,9 @@
         </item>
         <item>
             <key> <string>permission</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>redirect_script</string> </key>
diff --git a/bt5/erp5_accounting/bt/change_log b/bt5/erp5_accounting/bt/change_log
index c7a6657fb6..ae963bc380 100644
--- a/bt5/erp5_accounting/bt/change_log
+++ b/bt5/erp5_accounting/bt/change_log
@@ -1,3 +1,7 @@
+2009-12-14 yusei
+* Add sales group type to Sale Invoice Transaction.
+* Add purchase group type to Purchase Invoice Transaction.
+
 2009-10-16 yusei
 * Update for the changes of new portal types of portal types.
 
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 168072b7c6..013e5e6abd 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1076
\ No newline at end of file
+1077
\ No newline at end of file
-- 
2.30.9