From 7712535e7c816b06bb80890c94d320d03a559afb Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Fri, 12 Feb 2010 06:47:11 +0000
Subject: [PATCH] * define expandable property list and matching property list
 on invoice rule.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32470 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_rules/default_invoice_rule.xml     | 45 +++++++++++++++++++
 bt5/erp5_accounting/bt/revision               |  2 +-
 2 files changed, 46 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_accounting/PathTemplateItem/portal_rules/default_invoice_rule.xml b/bt5/erp5_accounting/PathTemplateItem/portal_rules/default_invoice_rule.xml
index c255af0d77..fa1e92c63a 100644
--- a/bt5/erp5_accounting/PathTemplateItem/portal_rules/default_invoice_rule.xml
+++ b/bt5/erp5_accounting/PathTemplateItem/portal_rules/default_invoice_rule.xml
@@ -53,10 +53,55 @@
             <key> <string>default_reference</string> </key>
             <value> <string>default_invoice_rule</string> </value>
         </item>
+        <item>
+            <key> <string>expandable_property</string> </key>
+            <value>
+              <tuple>
+                <string>aggregate_list</string>
+                <string>base_application_list</string>
+                <string>base_contribution_list</string>
+                <string>description</string>
+                <string>destination</string>
+                <string>destination_account</string>
+                <string>destination_administration</string>
+                <string>destination_decision</string>
+                <string>destination_function</string>
+                <string>destination_payment</string>
+                <string>destination_project</string>
+                <string>destination_section</string>
+                <string>incoterm</string>
+                <string>price</string>
+                <string>price_currency</string>
+                <string>quantity</string>
+                <string>quantity_unit</string>
+                <string>resource</string>
+                <string>source</string>
+                <string>source_account</string>
+                <string>source_administration</string>
+                <string>source_decision</string>
+                <string>source_function</string>
+                <string>source_payment</string>
+                <string>source_project</string>
+                <string>source_section</string>
+                <string>start_date</string>
+                <string>stop_date</string>
+                <string>variation_category_list</string>
+                <string>variation_property_dict</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>default_invoice_rule</string> </value>
         </item>
+        <item>
+            <key> <string>matching_property</string> </key>
+            <value>
+              <tuple>
+                <string>delivery</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>portal_type</string> </key>
             <value> <string>Invoice Rule</string> </value>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 5b2b55035c..1ea87ef70d 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1100
\ No newline at end of file
+1101
\ No newline at end of file
-- 
2.30.9