From 27e71b5ee13063c872f86d06aac7112e59e4625f Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Tue, 16 Feb 2010 08:23:00 +0000
Subject: [PATCH] configure default payment rule.

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

diff --git a/bt5/erp5_accounting/PathTemplateItem/portal_rules/default_payment_rule.xml b/bt5/erp5_accounting/PathTemplateItem/portal_rules/default_payment_rule.xml
index 9c85769e18..8e03b857e7 100644
--- a/bt5/erp5_accounting/PathTemplateItem/portal_rules/default_payment_rule.xml
+++ b/bt5/erp5_accounting/PathTemplateItem/portal_rules/default_payment_rule.xml
@@ -53,10 +53,40 @@
             <key> <string>default_reference</string> </key>
             <value> <string>default_payment_rule</string> </value>
         </item>
+        <item>
+            <key> <string>expandable_property</string> </key>
+            <value>
+              <tuple>
+                <string>destination</string>
+                <string>destination_payment</string>
+                <string>destination_project</string>
+                <string>destination_section</string>
+                <string>payment_mode</string>
+                <string>price</string>
+                <string>quantity</string>
+                <string>resource</string>
+                <string>source</string>
+                <string>source_payment</string>
+                <string>source_project</string>
+                <string>source_section</string>
+                <string>start_date</string>
+                <string>stop_date</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>default_payment_rule</string> </value>
         </item>
+        <item>
+            <key> <string>matching_property</string> </key>
+            <value>
+              <tuple>
+                <string>destination</string>
+                <string>source</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>portal_type</string> </key>
             <value> <string>Payment Rule</string> </value>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 2b48a28c15..5642d7e4f9 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1105
\ No newline at end of file
+1106
\ No newline at end of file
-- 
2.30.9