From c67c9c87962f48a8fbcb77647b8b7d56b3c902cb Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 21 May 2008 16:33:53 +0000
Subject: [PATCH] typo.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21066 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_trade/Order_applyTradeCondition.xml       | 2 +-
 bt5/erp5_trade/bt/revision                                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_applyTradeCondition.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_applyTradeCondition.xml
index 8d2b8974ae..89374cff79 100644
--- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_applyTradeCondition.xml
+++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_applyTradeCondition.xml
@@ -118,7 +118,7 @@ if len(order.contentIds(filter=filter_dict)) == 0:\n
 def initialiseDiscountLineList(order, trade_condition):\n
   for discount_model_line in trade_condition.contentValues(\n
                                              portal_type=\'Discount Model Line\'):\n
-    discount_model_line_reference = tax_model_line.getReference()\n
+    discount_model_line_reference = discount_model_line.getReference()\n
     if not discount_model_line_reference or discount_model_line_reference not in [\n
             x.getProperty(\'reference\') for x in\n
             order.contentValues(portal_type=\'Discount Line\')]:\n
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 483387c8ec..e8930b6df9 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-363
\ No newline at end of file
+364
\ No newline at end of file
-- 
2.30.9