From d7ce91c85d5204f73da27d59b49ca35675a226f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Fri, 29 Jan 2010 15:23:58 +0000
Subject: [PATCH]  - add source and destination function and account categories
 on delivery line level during building sale packing list

It is required, as order rule by default is checking for divergence on those
categories.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32092 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../category_movement_group_on_line.xml                       | 4 ++++
 .../category_movement_group_on_line.xml                       | 4 ++++
 bt5/erp5_trade/bt/revision                                    | 2 +-
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_trade/PathTemplateItem/portal_deliveries/purchase_packing_list_builder/category_movement_group_on_line.xml b/bt5/erp5_trade/PathTemplateItem/portal_deliveries/purchase_packing_list_builder/category_movement_group_on_line.xml
index faad04f99f..4e5ddf06a2 100644
--- a/bt5/erp5_trade/PathTemplateItem/portal_deliveries/purchase_packing_list_builder/category_movement_group_on_line.xml
+++ b/bt5/erp5_trade/PathTemplateItem/portal_deliveries/purchase_packing_list_builder/category_movement_group_on_line.xml
@@ -43,6 +43,10 @@
                 <string>resource</string>
                 <string>aggregate</string>
                 <string>quantity_unit</string>
+                <string>source_account</string>
+                <string>destination_account</string>
+                <string>source_function</string>
+                <string>destination_function</string>
               </tuple>
             </value>
         </item>
diff --git a/bt5/erp5_trade/PathTemplateItem/portal_deliveries/sale_packing_list_builder/category_movement_group_on_line.xml b/bt5/erp5_trade/PathTemplateItem/portal_deliveries/sale_packing_list_builder/category_movement_group_on_line.xml
index faad04f99f..4e5ddf06a2 100644
--- a/bt5/erp5_trade/PathTemplateItem/portal_deliveries/sale_packing_list_builder/category_movement_group_on_line.xml
+++ b/bt5/erp5_trade/PathTemplateItem/portal_deliveries/sale_packing_list_builder/category_movement_group_on_line.xml
@@ -43,6 +43,10 @@
                 <string>resource</string>
                 <string>aggregate</string>
                 <string>quantity_unit</string>
+                <string>source_account</string>
+                <string>destination_account</string>
+                <string>source_function</string>
+                <string>destination_function</string>
               </tuple>
             </value>
         </item>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 035d0f0c1d..d062eec37b 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-822
\ No newline at end of file
+823
\ No newline at end of file
-- 
2.30.9