From 8efd897c1bdb02588ce881c3bf92ed73aeac2522 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 4 Nov 2009 15:47:13 +0000
Subject: [PATCH] propagate more source_* and destination_* in DeliveryRule
 (XXX still they are hardcoded in the class itself).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30295 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/DeliveryRule.py | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/product/ERP5/Document/DeliveryRule.py b/product/ERP5/Document/DeliveryRule.py
index 9a51374403..eb5e3b9929 100644
--- a/product/ERP5/Document/DeliveryRule.py
+++ b/product/ERP5/Document/DeliveryRule.py
@@ -115,10 +115,18 @@ class DeliveryRule(Rule):
               source_section=deliv_mvt.getSourceSection(),
               source_function=deliv_mvt.getSourceFunction(),
               source_account=deliv_mvt.getSourceAccount(),
+              source_administration=deliv_mvt.getSourceAdministration(),
+              source_decision=deliv_mvt.getSourceDecision(),
+              source_project=deliv_mvt.getSourceProject(),
+              source_payment=deliv_mvt.getSourcePayment(),
               destination=deliv_mvt.getDestination(),
               destination_section=deliv_mvt.getDestinationSection(),
               destination_function=deliv_mvt.getDestinationFunction(),
               destination_account=deliv_mvt.getDestinationAccount(),
+              destination_administration=deliv_mvt.getDestinationAdministration(),
+              destination_decision=deliv_mvt.getDestinationDecision(),
+              destination_project=deliv_mvt.getDestinationProject(),
+              destination_payment=deliv_mvt.getDestinationPayment(),
               start_date=deliv_mvt.getStartDate(),
               stop_date=deliv_mvt.getStopDate(),
 
@@ -151,10 +159,18 @@ class DeliveryRule(Rule):
                 source_section=deliv_mvt.getSourceSection(),
                 source_function=deliv_mvt.getSourceFunction(),
                 source_account=deliv_mvt.getSourceAccount(),
+                source_administration=deliv_mvt.getSourceAdministration(),
+                source_decision=deliv_mvt.getSourceDecision(),
+                source_project=deliv_mvt.getSourceProject(),
+                source_payment=deliv_mvt.getSourcePayment(),
                 destination=deliv_mvt.getDestination(),
                 destination_section=deliv_mvt.getDestinationSection(),
                 destination_function=deliv_mvt.getDestinationFunction(),
                 destination_account=deliv_mvt.getDestinationAccount(),
+                destination_administration=deliv_mvt.getDestinationAdministration(),
+                destination_decision=deliv_mvt.getDestinationDecision(),
+                destination_project=deliv_mvt.getDestinationProject(),
+                destination_payment=deliv_mvt.getDestinationPayment(),
                 start_date=deliv_mvt.getStartDate(),
                 stop_date=deliv_mvt.getStopDate(),
 
-- 
2.30.9