From aebe8f274937ba5ca99c176c044242f318478eb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 29 Jun 2009 13:11:17 +0000
Subject: [PATCH] Invoice Line matrix boxs must create Invoice Cell

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27815 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../InvoiceLine_viewPrice/matrixbox.xml       | 28 +++++++++++++++----
 .../InvoiceLine_viewQuantity/matrixbox.xml    | 28 +++++++++++++++----
 bt5/erp5_invoicing/bt/revision                |  2 +-
 3 files changed, 47 insertions(+), 11 deletions(-)

diff --git a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewPrice/matrixbox.xml b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewPrice/matrixbox.xml
index 42c2a34cb8..ca3ac8cb6b 100644
--- a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewPrice/matrixbox.xml
+++ b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewPrice/matrixbox.xml
@@ -13,14 +13,14 @@
             <key> <string>delegated_list</string> </key>
             <value>
               <list>
+                <string>cell_base_id</string>
                 <string>cell_portal_type</string>
+                <string>columns</string>
                 <string>editable_attributes</string>
-                <string>title</string>
                 <string>global_attributes</string>
-                <string>cell_base_id</string>
-                <string>tabs</string>
                 <string>lines</string>
-                <string>columns</string>
+                <string>tabs</string>
+                <string>title</string>
               </list>
             </value>
         </item>
@@ -105,7 +105,13 @@
                 </item>
                 <item>
                     <key> <string>cell_portal_type</string> </key>
-                    <value> <string>Delivery Cell</string> </value>
+                    <value> <string>Invoice Cell</string> </value>
+                </item>
+                <item>
+                    <key> <string>columns</string> </key>
+                    <value>
+                      <list/>
+                    </value>
                 </item>
                 <item>
                     <key> <string>editable_attributes</string> </key>
@@ -149,6 +155,18 @@
                       </list>
                     </value>
                 </item>
+                <item>
+                    <key> <string>lines</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>tabs</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
                 <item>
                     <key> <string>target</string> </key>
                     <value> <string>Click to edit the target</string> </value>
diff --git a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewQuantity/matrixbox.xml b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewQuantity/matrixbox.xml
index 42c2a34cb8..ca3ac8cb6b 100644
--- a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewQuantity/matrixbox.xml
+++ b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewQuantity/matrixbox.xml
@@ -13,14 +13,14 @@
             <key> <string>delegated_list</string> </key>
             <value>
               <list>
+                <string>cell_base_id</string>
                 <string>cell_portal_type</string>
+                <string>columns</string>
                 <string>editable_attributes</string>
-                <string>title</string>
                 <string>global_attributes</string>
-                <string>cell_base_id</string>
-                <string>tabs</string>
                 <string>lines</string>
-                <string>columns</string>
+                <string>tabs</string>
+                <string>title</string>
               </list>
             </value>
         </item>
@@ -105,7 +105,13 @@
                 </item>
                 <item>
                     <key> <string>cell_portal_type</string> </key>
-                    <value> <string>Delivery Cell</string> </value>
+                    <value> <string>Invoice Cell</string> </value>
+                </item>
+                <item>
+                    <key> <string>columns</string> </key>
+                    <value>
+                      <list/>
+                    </value>
                 </item>
                 <item>
                     <key> <string>editable_attributes</string> </key>
@@ -149,6 +155,18 @@
                       </list>
                     </value>
                 </item>
+                <item>
+                    <key> <string>lines</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>tabs</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
                 <item>
                     <key> <string>target</string> </key>
                     <value> <string>Click to edit the target</string> </value>
diff --git a/bt5/erp5_invoicing/bt/revision b/bt5/erp5_invoicing/bt/revision
index d3b9819557..34251f6b24 100644
--- a/bt5/erp5_invoicing/bt/revision
+++ b/bt5/erp5_invoicing/bt/revision
@@ -1 +1 @@
-246
\ No newline at end of file
+247
\ No newline at end of file
-- 
2.30.9