From da2dceeb508dee97dc65f81ead369f1e186dc716 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 12 Feb 2010 06:05:20 +0000 Subject: [PATCH] add more default expandable property list according to the old implementation. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32469 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/DeliveryRule.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/product/ERP5/Document/DeliveryRule.py b/product/ERP5/Document/DeliveryRule.py index 3ecbe5ed23..7771252665 100644 --- a/product/ERP5/Document/DeliveryRule.py +++ b/product/ERP5/Document/DeliveryRule.py @@ -211,7 +211,7 @@ class DeliveryRule(Rule): # of hardcoded properties. Theses properties should now be # defined on the rule itself if len(property_list) == 0: - LOG("Order Rule , getExpandablePropertyList", WARNING, + LOG("Delivery Rule , getExpandablePropertyList", WARNING, "Hardcoded properties set, please define your rule correctly") property_list = ( 'aggregate_list', @@ -220,7 +220,11 @@ class DeliveryRule(Rule): 'description', 'destination', 'destination_account', + 'destination_administration', + 'destination_decision', 'destination_function', + 'destination_payment', + 'destination_project', 'destination_section', 'price', 'price_currency', @@ -229,7 +233,11 @@ class DeliveryRule(Rule): 'resource', 'source', 'source_account', + 'source_administration', + 'source_decision', 'source_function', + 'source_payment', + 'source_project', 'source_section', 'start_date', 'stop_date', -- 2.30.9