From e64432cf1706072b9d59d1ff89cbdb3cf2c7a83c Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Wed, 15 Dec 2010 08:31:43 +0000
Subject: [PATCH] `use` category should be also needed by default.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41441 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/TradeModelLine.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/TradeModelLine.py b/product/ERP5/Document/TradeModelLine.py
index adf8415974..31a43a1c82 100644
--- a/product/ERP5/Document/TradeModelLine.py
+++ b/product/ERP5/Document/TradeModelLine.py
@@ -66,7 +66,7 @@ class TradeModelLine(AmountGeneratorLine):
     return ('price',)
 
   def getMappedValueBaseCategoryList(self):
-    return self._baseGetMappedValueBaseCategoryList() or ('trade_phase',)
+    return self._baseGetMappedValueBaseCategoryList() or ('trade_phase', 'use',)
 
   #
   security.declareProtected(Permissions.AccessContentsInformation,
-- 
2.30.9