From 774b4d837de359732dac1b569d8c6d277424df8c Mon Sep 17 00:00:00 2001 From: Fabrice Decroix <fabrice@nexedi.com> Date: Mon, 29 Sep 2008 12:42:01 +0000 Subject: [PATCH] Add source_function in the expandable categories git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23892 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/DeliveryRule.py | 2 ++ product/ERP5/Document/OrderRule.py | 1 + 2 files changed, 3 insertions(+) diff --git a/product/ERP5/Document/DeliveryRule.py b/product/ERP5/Document/DeliveryRule.py index ee02bff289..5fe4f2b9de 100644 --- a/product/ERP5/Document/DeliveryRule.py +++ b/product/ERP5/Document/DeliveryRule.py @@ -121,6 +121,7 @@ class DeliveryRule(Rule): source=deliv_mvt.getSource(), source_section=deliv_mvt.getSourceSection(), + source_function=deliv_mvt.getSourceFunction(), destination=deliv_mvt.getDestination(), destination_section=deliv_mvt.getDestinationSection(), destination_function=deliv_mvt.getDestinationFunction(), @@ -150,6 +151,7 @@ class DeliveryRule(Rule): source=deliv_mvt.getSource(), source_section=deliv_mvt.getSourceSection(), + source_function=deliv_mvt.getSourceFunction(), destination=deliv_mvt.getDestination(), destination_section=deliv_mvt.getDestinationSection(), destination_function=deliv_mvt.getDestinationFunction(), diff --git a/product/ERP5/Document/OrderRule.py b/product/ERP5/Document/OrderRule.py index 46279610e0..c0a4080abc 100644 --- a/product/ERP5/Document/OrderRule.py +++ b/product/ERP5/Document/OrderRule.py @@ -175,6 +175,7 @@ class OrderRule(DeliveryRule): default_property_list = ( 'source', 'source_section', + 'source_function', 'destination', 'destination_section', 'destination_function', -- 2.30.9